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!
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With