Run migrate during pleroma upgrade
This commit is contained in:
parent
9b44f6d23c
commit
ea1d4e4a60
|
@ -764,6 +764,7 @@ function upgrade_pleroma {
|
||||||
|
|
||||||
# migrate database
|
# migrate database
|
||||||
sudo -u pleroma mix deps.clean --build mime
|
sudo -u pleroma mix deps.clean --build mime
|
||||||
|
sudo -u pleroma mix ecto.migrate
|
||||||
|
|
||||||
expire_pleroma_posts "$PLEROMA_DOMAIN_NAME" "$PLEROMA_EXPIRE_MONTHS"
|
expire_pleroma_posts "$PLEROMA_DOMAIN_NAME" "$PLEROMA_EXPIRE_MONTHS"
|
||||||
create_pleroma_blocklist
|
create_pleroma_blocklist
|
||||||
|
|
Loading…
Reference in New Issue