This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Capistrano::Rails::Db | |
cap production deploy:db:abort_if_pending_migrations # Run rake db:abort_if_pending_migrations | |
cap production deploy:db:create # Run rake db:create | |
cap production deploy:db:drop # Run rake db:drop | |
cap production deploy:db:migrate # Run rake db:migrate Migrate the database (options: VERSION=x, VERBOSE=false, SCOPE=blog) | |
cap production deploy:db:migrate:down # Run rake db:migrate:down Run the "down" for a given migration VERSION | |
cap production deploy:db:migrate:redo # Run rake db:migrate:redo Rollback the database one migration and re migrate up (options: STEP=x, VERSION=x) | |
cap production deploy:db:migrate:reset # Run rake db:migrate:reset Reset your database using your migrations | |
cap production deploy:db:migrate:status # Run rake db:migrate:status Display status of migrations | |
cap production deploy:db:migrate:up # Run rake db:mi |