From 4f352ba0f12c5de0c6cadecbf045a43e2458ba01 Mon Sep 17 00:00:00 2001 From: Vincent Chalamon Date: Thu, 19 Mar 2020 11:26:52 +0100 Subject: [PATCH] Add tilleuls/migration-bundle --- .../1.1/config/packages/coop_tilleuls_migration.yaml | 11 +++++++++++ tilleuls/migration-bundle/1.1/manifest.json | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 tilleuls/migration-bundle/1.1/config/packages/coop_tilleuls_migration.yaml create mode 100644 tilleuls/migration-bundle/1.1/manifest.json 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..855e91df --- /dev/null +++ b/tilleuls/migration-bundle/1.1/config/packages/coop_tilleuls_migration.yaml @@ -0,0 +1,11 @@ +# Read the documentation: https://github.com/coopTilleuls/CoopTilleulsMigrationBundle/blob/master/Resources/doc/getting_started.md +coop_tilleuls_migration: + legacy_connection_name: legacy + +doctrine: + dbal: + default_connection: default + 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" + } +}