How to modify capistrano deploy to automatically run migrations in Rails 3.0

后端 未结 2 758
执念已碎
执念已碎 2020-12-30 23:26

Right now, I have to run cap deploy and cap deploy:migrations if there are migrations to be run.

how I modify the cap deploy task to run migrations.

2条回答
提交回复
热议问题