From 673e4a37876a1c64a16001417d049f85e8caf8b5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 28 Sep 2020 13:55:38 +0300 Subject: [PATCH] update schema on startup --- src/app/startup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/startup.sh b/src/app/startup.sh index 0ba3773..2e2d52e 100755 --- a/src/app/startup.sh +++ b/src/app/startup.sh @@ -84,6 +84,8 @@ else -i.bak $DST_DIR/config.php fi +cd $DST_DIR && sudo -u app php ./update.php --update-schema force-yes + touch $DST_DIR/.app_is_ready sudo -u app /usr/sbin/php-fpm7 -F