From 1cc7bd5c604b583ea01f7d13620022dd0a70b85b Mon Sep 17 00:00:00 2001 From: Manuele Menozzi Date: Thu, 3 Dec 2020 11:31:17 +0100 Subject: [PATCH] Fix doctrine migrations config in UPGRADE-1.8.md The `doctrine:migrations:migrate` command will fail if not executed from the project root. This is the case when using Deployer. The `%kernel.project_dir%` parameter will fix that. --- UPGRADE-1.8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADE-1.8.md b/UPGRADE-1.8.md index b3b109755be..6db31af0244 100644 --- a/UPGRADE-1.8.md +++ b/UPGRADE-1.8.md @@ -242,7 +242,7 @@ As we switched to the `3.0` version of Doctrine Migrations, there are some thing + table_storage: + table_name: sylius_migrations + migrations_paths: - + 'DoctrineMigrations': 'src/Migrations' + + 'DoctrineMigrations': '%kernel.project_dir%/src/Migrations' ``` 1. Remove all the legacy Sylius-Standard migrations (they're not needed anymore)