how to generate migrations from an existing database, including indexes and foreign keys?
I'm working on a script to extend https://github.com/gwa/MySQL2Phinx in an attempt to fully cover MySQL, and then probably PostGREs
Hi! You could try to generate a migration with odan/phinx-migrations-generator
Great work, @odan! Thank you so much!
You can link this in the docs maybe.
this is just what i was looking for :-D Is it able to create inserts for the existing data in the database?
Duplicate of https://github.com/cakephp/phinx/issues/350 ?
Most helpful comment
Hi! You could try to generate a migration with odan/phinx-migrations-generator