Migrated to custom doctrine cli entry point, as the built-in is deprecated

This commit is contained in:
Alejandro Celaya
2022-09-08 14:10:09 +02:00
parent e712efd008
commit b078c00492
8 changed files with 40 additions and 7 deletions

View File

@@ -13,10 +13,10 @@ echo "Updating database..."
php bin/cli db:migrate -n ${flags}
echo "Generating proxies..."
php vendor/doctrine/orm/bin/doctrine.php orm:generate-proxies -n ${flags}
php bin/doctrine orm:generate-proxies -n ${flags}
echo "Clearing entities cache..."
php vendor/doctrine/orm/bin/doctrine.php orm:clear-cache:metadata -n ${flags}
php bin/doctrine orm:clear-cache:metadata -n ${flags}
# Try to download GeoLite2 db file only if the license key env var was defined
if [ ! -z "${GEOLITE_LICENSE_KEY}" ]; then