diff --git a/tilleuls/migration-bundle/1.1/config/packages/coop_tilleuls_migration.yaml b/tilleuls/migration-bundle/1.1/config/packages/coop_tilleuls_migration.yaml new file mode 100644 index 00000000..42a4e3dc --- /dev/null +++ b/tilleuls/migration-bundle/1.1/config/packages/coop_tilleuls_migration.yaml @@ -0,0 +1,10 @@ +# Read the documentation: https://github.com/coopTilleuls/CoopTilleulsMigrationBundle/blob/master/Resources/doc/getting_started.md +coop_tilleuls_migration: + legacy_connection_name: legacy + +doctrine: + dbal: + connections: + legacy: + wrapper_class: 'CoopTilleuls\MigrationBundle\Doctrine\DBAL\DisabledConnection' + url: "%env(LEGACY_DATABASE_URL)%" diff --git a/tilleuls/migration-bundle/1.1/manifest.json b/tilleuls/migration-bundle/1.1/manifest.json new file mode 100644 index 00000000..067edb80 --- /dev/null +++ b/tilleuls/migration-bundle/1.1/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "CoopTilleuls\\MigrationBundle\\CoopTilleulsMigrationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "LEGACY_DATABASE_URL": "mysql://legacy_db_user:legacy_db_password@127.0.0.1:3306/legacy_db_name" + } +}