Open dimitriBouteille opened 7 months ago
Maybe this would be a code inspiration on how it can be done in WordPress:
Hi @rafaucau
Thanks for sharing the links, the goal of dbout/wp-orm
is to avoid overusing third party dependencies in order to reduce problems. I think to start on a migration system as simple as possible with wp-cli
.
I already started working on the subject by checking that the Dbout\WpOrm\Orm\Schemas\WordPressBuilder
class works well: https://github.com/dimitriBouteille/wp-orm/pull/96
This new migration system is probably the last topic before releasing the v4 :)
@rafaucau
For information, I updated the ticket with the desired features. If you have ideas, do not hesitate to suggest :)
Replace
robmorgan/phinx
by custom migration tool. The migration system should ideally take over the same logic and functionality as what is proposed by Laravel.In order to make the system configurable, it is necessary to provide :