From 62c93a7e6b41439b41d3c25ac80fe2784e9a9654 Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Wed, 18 Mar 2015 11:26:55 +0100 Subject: [PATCH] Adding synchronizeMigrations --- composer.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/composer.json b/composer.json index 1d1f225cf..5d22ebbf1 100644 --- a/composer.json +++ b/composer.json @@ -35,5 +35,16 @@ "symfony/dom-crawler": "2.5", "doctrine/doctrine-fixtures-bundle": "~2.2", "symfony/security": "~2.5" + }, + "scripts": { + "post-install-cmd": [ + "ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations" + ], + "post-update-cmd": [ + "ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations" + ] + }, + "extra": { + "app-migrations-dir": "Tests/Fixtures/App/DoctrineMigrations" } }