diff --git a/src/Migration/PostgresMessageStoreDefinition.php b/src/Migration/PostgresMessageStoreDefinition.php index 8445958..7f16055 100644 --- a/src/Migration/PostgresMessageStoreDefinition.php +++ b/src/Migration/PostgresMessageStoreDefinition.php @@ -45,7 +45,7 @@ public static function snapshotStoreUpSchema(): string CREATE INDEX "snapshot_store_aggregate_id" ON "snapshot_store" ("aggregate_id"); ALTER TABLE snapshot_store ADD CONSTRAINT "snapshot_store_unique_aggregate_id" UNIQUE ("aggregate_id"); ', - self::EVENT_STORE, + self::SNAPSHOT_STORE, ); }