aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-01-09 14:43:06 +0100
committerJeremy Benoist <j0k3r@users.noreply.github.com>2016-01-09 14:43:06 +0100
commit1caf557de797a662906779b348759e2937255812 (patch)
tree563c24356dfb03bf3468672e005df5e8d9823576 /app
parent39643c6b76d92d509b1af0228b6379d7fdce8a1c (diff)
parente1b9f4fb37279fa3df10dd841625b5f7f50441ff (diff)
downloadwallabag-1caf557de797a662906779b348759e2937255812.tar.gz
wallabag-1caf557de797a662906779b348759e2937255812.tar.zst
wallabag-1caf557de797a662906779b348759e2937255812.zip
Merge pull request #1559 from wallabag/v2-doctrine-migrations
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%"