From a01201a51ceac31a8fa018b3795917790d63c4c7 Mon Sep 17 00:00:00 2001 From: vasilvestre Date: Fri, 15 Jul 2022 15:00:35 +0200 Subject: [PATCH 1/2] Avoid migrations to be autoloaded Solve #654 --- config/packages/doctrine_migrations.yaml | 2 +- {src/Migrations => migrations}/.gitignore | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {src/Migrations => migrations}/.gitignore (100%) diff --git a/config/packages/doctrine_migrations.yaml b/config/packages/doctrine_migrations.yaml index 765b5c5e70..8599b2215b 100644 --- a/config/packages/doctrine_migrations.yaml +++ b/config/packages/doctrine_migrations.yaml @@ -3,4 +3,4 @@ doctrine_migrations: table_storage: table_name: sylius_migrations migrations_paths: - 'App\Migrations': "%kernel.project_dir%/src/Migrations" + 'DoctrineMigrations': "%kernel.project_dir%/migrations" diff --git a/src/Migrations/.gitignore b/migrations/.gitignore similarity index 100% rename from src/Migrations/.gitignore rename to migrations/.gitignore From dc0caff1508684adae07fda5ffe40683c3af8e21 Mon Sep 17 00:00:00 2001 From: Valentin Silvestre Date: Wed, 7 Sep 2022 14:23:34 +0200 Subject: [PATCH 2/2] Update doctrine_migrations.yaml