From 99a616f5bb16ab7637f30ad8ea11ea2701e9fa9a Mon Sep 17 00:00:00 2001 From: pitchum Date: Sat, 9 Mar 2024 11:44:16 +0000 Subject: [PATCH] Execute db migration script in d/postinst --- debian/postinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/postinst b/debian/postinst index 2431f0ca..3de0d463 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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)