1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Remove prepare_for_foreign_keys

This commit is contained in:
nemsia 2017-09-07 23:04:29 +02:00 committed by GitHub
parent f224a7d13c
commit 099de1658f

View file

@ -72,7 +72,7 @@ pushd ~/live
bin/bundle install bin/bundle install
yarn install --pure-lockfile yarn install --pure-lockfile
# For 1.4.1 -> 1.4.2 migration prepare_for_foreign_keys is needed # For 1.4.1 -> 1.4.2 migration prepare_for_foreign_keys is needed
RAILS_ENV=production bundle exec rails mastodon:maintenance:prepare_for_foreign_keys # RAILS_ENV=production bundle exec rails mastodon:maintenance:prepare_for_foreign_keys
RAILS_ENV=production bundle exec rails assets:clean RAILS_ENV=production bundle exec rails assets:clean
RAILS_ENV=production bundle exec rails assets:precompile RAILS_ENV=production bundle exec rails assets:precompile
RAILS_ENV=production bundle exec rails db:migrate RAILS_ENV=production bundle exec rails db:migrate