mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Fix migrate
This commit is contained in:
parent
c4ecea32c3
commit
7c28bc2275
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails ass
|
|||
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails assets:precompile --trace
|
||||
|
||||
sudo su - $app <<UCOMMANDS
|
||||
pushd ~/live
|
||||
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails db:migrate
|
||||
# Upgrade to 2.2.0
|
||||
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails mastodon:maintenance:remove_regeneration_markers
|
||||
|
|
Loading…
Add table
Reference in a new issue