mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Added needed line for 1.4.2 migration
This commit is contained in:
parent
e438a0ab3e
commit
d7b8bd7b23
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@ sudo su - $app <<COMMANDS
|
||||||
pushd ~/live
|
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
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in a new issue