I am working on a somewhat large project which has been alive for several years now. Migrations folder was understandably filled with a lot of additional files which would either add or remove a column/table from the database.
My goal was to refactor migrations so that I no longer have for example both create_users_table and add_xy_to_users_table, but rather one migration for users table which has everything it needs without the need for additional migrations.
I used the extension for SequelPro on this link, and adjusted the migration order so that both migrations and seeders execute the way they should.
Now that I am in the phase that everything is working locally, I need a method to test data from live server on new migration files. I can download live server sql dump, but I don't know how would I best approach checking whether live server data will work on current local migration files.
Basically I would like to test out if I made a good job or not
Aucun commentaire:
Enregistrer un commentaire