From 3a27647d896d1b9b4724ef1801db41014bdf6c9b 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 68a7cae..fb1ccb5 100755 --- a/src/app/startup.sh +++ b/src/app/startup.sh @@ -83,6 +83,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