From 5bd4e9ff1a4b4f5a4ffd95627a0932b347037c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 29 Jan 2015 16:41:23 +0100 Subject: [PATCH] add composer bundle migration --- composer.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2fb4fd28d..501fab8a0 100644 --- a/composer.json +++ b/composer.json @@ -29,10 +29,22 @@ "doctrine/doctrine-bundle": "~1.2", "chill-project/main": "*@dev", "chill-project/custom-fields": "*@dev", - "doctrine/doctrine-fixtures-bundle": "~2.2" + "doctrine/doctrine-fixtures-bundle": "~2.2", + "champs-libres/composer-bundle-migration": "~1.0" }, "require-dev": { "symfony/dom-crawler": "2.5", "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/app/DoctrineMigrations" } }