Declarative schema for databases #42489
-
I could not find an existing discussion regarding this topic so I thought I'd start one. Since Magento 2.3 they have a feature called "Declarative schema". This is basically just an XML file defining what the table should look like, eliminating the need for migration files. The implementation in Laravel could be similar and use XML as well, or is could use a similar style to how migrations are right now. Let me know what you think! Any issues that would come up that I haven't thought about? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is #39855 and laravel/ideas#944 in that regard. Maybe the discussion about it could be revived? |
Beta Was this translation helpful? Give feedback.
There is #39855 and laravel/ideas#944 in that regard.
Maybe the discussion about it could be revived?
In a recent project, migrations got out of control and such a feature would simplify everything and would help with complexity.