Run doctrine:migrations:migrate on deploy

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Simon Kühn 2026-04-29 20:01:36 +02:00
parent 3425bbd171
commit d7edb30998

View file

@ -10,6 +10,7 @@ COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --no-interaction --optimize
# Alias-Deployment: RewriteBase auf /dd/ setzen
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
chown -R www-data:www-data var/