update schema on startup

This commit is contained in:
Andrew Dolgov 2020-09-28 13:55:06 +03:00
parent 1eff29a23f
commit d2e8c85f4c
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ else
-i.bak $DST_DIR/config.php -i.bak $DST_DIR/config.php
fi fi
cd $DST_DIR && sudo -u app php ./update.php --update-schema force-yes
touch $DST_DIR/.app_is_ready touch $DST_DIR/.app_is_ready
sudo -u app /usr/sbin/php-fpm7 -F sudo -u app /usr/sbin/php-fpm7 -F