aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2016-01-08 16:27:29 +0100
committerNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2016-01-08 16:27:29 +0100
commit292c1324e982fdaa26633cb4b7bb56f29bdea57d (patch)
tree449ade93c49a8bc63825ec89c2df44ad0ad6dea3 /app
parent39643c6b76d92d509b1af0228b6379d7fdce8a1c (diff)
downloadwallabag-292c1324e982fdaa26633cb4b7bb56f29bdea57d.tar.gz
wallabag-292c1324e982fdaa26633cb4b7bb56f29bdea57d.tar.zst
wallabag-292c1324e982fdaa26633cb4b7bb56f29bdea57d.zip
Installation & configuration of Doctrine Migrations
Diffstat (limited to 'app')
-rw-r--r--app/AppKernel.php1
-rw-r--r--app/config/config.yml6
2 files changed, 7 insertions, 0 deletions
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
32 new Scheb\TwoFactorBundle\SchebTwoFactorBundle(), 32 new Scheb\TwoFactorBundle\SchebTwoFactorBundle(),
33 new KPhoen\RulerZBundle\KPhoenRulerZBundle(), 33 new KPhoen\RulerZBundle\KPhoenRulerZBundle(),
34 new Wallabag\ImportBundle\WallabagImportBundle(), 34 new Wallabag\ImportBundle\WallabagImportBundle(),
35 new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
35 ); 36 );
36 37
37 if (in_array($this->getEnvironment(), array('dev', 'test'))) { 38 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:
102 tree: true 102 tree: true
103 sluggable: true 103 sluggable: true
104 104
105doctrine_migrations:
106 dir_name: "%kernel.root_dir%/DoctrineMigrations"
107 namespace: Application\Migrations
108 table_name: migration_versions
109 name: Application Migrations
110
105# Swiftmailer Configuration 111# Swiftmailer Configuration
106swiftmailer: 112swiftmailer:
107 transport: "%mailer_transport%" 113 transport: "%mailer_transport%"