From 79cde6047dae1c7907fc8226f2ba7ef143d77113 Mon Sep 17 00:00:00 2001 From: Daniel Badura Date: Thu, 16 Jan 2025 19:42:17 +0100 Subject: [PATCH] Use the right options for the migration process --- src/DependencyInjection/PatchlevelEventSourcingExtension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DependencyInjection/PatchlevelEventSourcingExtension.php b/src/DependencyInjection/PatchlevelEventSourcingExtension.php index 51952dab..516a210c 100644 --- a/src/DependencyInjection/PatchlevelEventSourcingExtension.php +++ b/src/DependencyInjection/PatchlevelEventSourcingExtension.php @@ -642,7 +642,7 @@ private function configureStoreMigration(array $config, ContainerBuilder $contai new Reference('event_sourcing.dbal_connection'), new Reference(EventSerializer::class), new Reference(HeadersSerializer::class), - $config['store']['options'], + $config['store']['migrate_to_new_store']['options'], ]) ->addTag('event_sourcing.doctrine_schema_configurator'); @@ -656,7 +656,7 @@ private function configureStoreMigration(array $config, ContainerBuilder $contai new Reference(EventSerializer::class), new Reference(HeadersSerializer::class), new Reference('event_sourcing.clock'), - $config['store']['options'], + $config['store']['migrate_to_new_store']['options'], ]) ->addTag('event_sourcing.doctrine_schema_configurator');