From 292c1324e982fdaa26633cb4b7bb56f29bdea57d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 8 Jan 2016 16:27:29 +0100 Subject: Installation & configuration of Doctrine Migrations --- app/AppKernel.php | 1 + app/config/config.yml | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'app') diff --git a/app/AppKernel.php b/app/AppKernel.php index 93b0201a..d2aa8d1c 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -32,6 +32,7 @@ class AppKernel extends Kernel new Scheb\TwoFactorBundle\SchebTwoFactorBundle(), new KPhoen\RulerZBundle\KPhoenRulerZBundle(), new Wallabag\ImportBundle\WallabagImportBundle(), + new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(), ); if (in_array($this->getEnvironment(), array('dev', 'test'))) { diff --git a/app/config/config.yml b/app/config/config.yml index e50f9b52..8e9369c2 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -102,6 +102,12 @@ stof_doctrine_extensions: tree: true sluggable: true +doctrine_migrations: + dir_name: "%kernel.root_dir%/DoctrineMigrations" + namespace: Application\Migrations + table_name: migration_versions + name: Application Migrations + # Swiftmailer Configuration swiftmailer: transport: "%mailer_transport%" -- cgit v1.2.3