Execute db migration script in d/postinst
This commit is contained in:
parent
d366719168
commit
99a616f5bb
2
debian/postinst
vendored
2
debian/postinst
vendored
@ -48,6 +48,8 @@ case "$1" in
|
||||
mv /etc/mobilizon/config.exs.tmp /etc/mobilizon/config.exs
|
||||
fi
|
||||
|
||||
# Initialize/update database schema
|
||||
/usr/bin/mobilizon_ctl migrate
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
Loading…
Reference in New Issue
Block a user