Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate moving all NodeType and NodeTypeFields persistance to stateless and static configuration files #14

Open
ambroisemaupate opened this issue Sep 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ambroisemaupate
Copy link
Member

Today Roadiz store its node-type and node-type-fields in 3 different locations:

  • node_type and node_type_field database tables
  • NSXxxxXxxx generated node-source entity
  • src/Resources/config/XxxxxXxxx.json node-type definition file for migration between environments

This leads into migration issues between developer inside the same project, and between local and remote environments.

We should evaluate removing node-type and fields from database and only load these data from static files to :

  • render NodeSource forms
  • generate NSXxxxxXxxx PHP files
  • generate Doctrine migration on NodeSource table
  • etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants