Run doctrine:migrations:migrate on deploy
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3425bbd171
commit
d7edb30998
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --no-interaction --optimize
|
||||||
# Alias-Deployment: RewriteBase auf /dd/ setzen
|
# Alias-Deployment: RewriteBase auf /dd/ setzen
|
||||||
sed -i 's|RewriteBase /$|RewriteBase /dd/|' public/.htaccess
|
sed -i 's|RewriteBase /$|RewriteBase /dd/|' public/.htaccess
|
||||||
|
|
||||||
|
APP_ENV=prod php bin/console doctrine:migrations:migrate --no-interaction --env=prod
|
||||||
APP_ENV=prod php bin/console cache:clear --env=prod --no-warmup
|
APP_ENV=prod php bin/console cache:clear --env=prod --no-warmup
|
||||||
chown -R www-data:www-data var/
|
chown -R www-data:www-data var/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue