From d2e8c85f4cb0feaf4c670f21aa320dc7418feb7e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 28 Sep 2020 13:55:06 +0300 Subject: [PATCH] update schema on startup --- app/startup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/startup.sh b/app/startup.sh index b4744dc..ab9602e 100755 --- a/app/startup.sh +++ b/app/startup.sh @@ -89,6 +89,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