force migration involation, as mina can get it wrong
This commit is contained in:
parent
fa8958f492
commit
c037cf8311
@ -25,6 +25,8 @@ set :user, 'feenix' # Username in the server to SSH to.
|
||||
set :shared_dirs, fetch(:shared_dirs, []).push('tmp/pids' , 'tmp/sockets' , 'public/uploads')
|
||||
set :shared_files, fetch(:shared_files, []).push('config/master.key')
|
||||
|
||||
set :force_migrate , true
|
||||
|
||||
# This task is the environment that is loaded for all remote run commands, such as
|
||||
# `mina deploy` or `mina rake`.
|
||||
task :remote_environment do
|
||||
@ -54,7 +56,7 @@ task :deploy do
|
||||
invoke :'bundle:install'
|
||||
invoke :'rails:assets_precompile'
|
||||
invoke :'deploy:cleanup'
|
||||
invoke :'rails[db:migrate]'
|
||||
invoke :'rails:db_migrate'
|
||||
|
||||
on :launch do
|
||||
in_path(fetch(:current_path)) do
|
||||
|
Loading…
Reference in New Issue
Block a user