Reputation: 1945
With rake db:migrate:status
I can display the status of migrations, but what is the way to display the latest performed?
Upvotes: 0
Views: 78
Reputation: 26
This has already been answered on Stack Overflow here: https://stackoverflow.com/a/8847126/4461194
1.9.3-p551 :001 > ActiveRecord::Migrator.current_version
(0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
=> 20150114073202
Upvotes: 1