From 20511279d57121453cb3b139c7a6549a6e42b510 Mon Sep 17 00:00:00 2001 From: Maarten de Keizer Date: Tue, 10 Nov 2020 16:03:16 +0100 Subject: [PATCH 1/2] Add meta data sync --- docker-entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index df426aea..2c7189e3 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -25,6 +25,7 @@ then php bin/console cache:warmup --env=acceptance fi +php bin/console doctrine:migrations:sync-metadata-storage --no-interaction php bin/console doctrine:migrations:migrate --no-interaction chown -R www-data:www-data var From 1883af1284f1551a3649208ff6ada37d9808cd0d Mon Sep 17 00:00:00 2001 From: Maarten de Keizer Date: Tue, 10 Nov 2020 16:08:40 +0100 Subject: [PATCH 2/2] Change migration table name --- config/packages/doctrine_migrations.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/packages/doctrine_migrations.yaml b/config/packages/doctrine_migrations.yaml index 652760d0..207199c3 100644 --- a/config/packages/doctrine_migrations.yaml +++ b/config/packages/doctrine_migrations.yaml @@ -3,3 +3,6 @@ doctrine_migrations: 'DoctrineMigrations': '%kernel.project_dir%/src/Migrations' # namespace is arbitrary but should be different from App\Migrations # as migrations classes should NOT be autoloaded + storage: + table_storage: + table_name: 'migration_versions'