1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Installation & configuration of Doctrine Migrations

This commit is contained in:
Nicolas Lœuillet 2016-01-08 16:27:29 +01:00
parent 39643c6b76
commit 292c1324e9
4 changed files with 138 additions and 4 deletions

View file

@ -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'))) {

View file

@ -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%"