Execute db migration script in d/postinst

This commit is contained in:
pitchum 2024-03-09 11:44:16 +00:00
parent d366719168
commit 99a616f5bb

2
debian/postinst vendored
View File

@ -48,6 +48,8 @@ case "$1" in
mv /etc/mobilizon/config.exs.tmp /etc/mobilizon/config.exs mv /etc/mobilizon/config.exs.tmp /etc/mobilizon/config.exs
fi fi
# Initialize/update database schema
/usr/bin/mobilizon_ctl migrate
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)