Run migrate during pleroma upgrade

This commit is contained in:
Bob Mottram 2018-03-08 21:49:26 +00:00
parent 9b44f6d23c
commit ea1d4e4a60
1 changed files with 1 additions and 0 deletions

View File

@ -764,6 +764,7 @@ function upgrade_pleroma {
# migrate database
sudo -u pleroma mix deps.clean --build mime
sudo -u pleroma mix ecto.migrate
expire_pleroma_posts "$PLEROMA_DOMAIN_NAME" "$PLEROMA_EXPIRE_MONTHS"
create_pleroma_blocklist