Wednesday, 15 January 2014

mysql - How to make a migration file as already run? -


I created a column in the database without creating a migration file. Now I want to create a migration file for that column. How can I make the migration file running?

Rails know that the migration migration ID is found in the schema_migrations table Whether or not it has been run on the basis.

Run Rail DB to spin your SQL Front-End, and then enter

  schema_migration (id) values ​​(& lt ; Leading issues of migration;);  

No comments:

Post a Comment