Reputation: 2908
I'm new to rails and by mistake I did a rollback. Is there anyway to do a rollforward?
also is there a command to check out which migrations i have no migrated yet. Thanks!
Upvotes: 4
Views: 3903
Reputation: 3999
rake db:migrate
should rerun everything
In order to see which is the last migration you have run, you can check the schema_migrations
table inside your database. The last row is generally the last run migration.
Upvotes: 8