From 983fab2265421ae9a41e86a6a3600968035b1409 Mon Sep 17 00:00:00 2001 From: David Badura Date: Fri, 5 Jan 2024 13:56:29 +0100 Subject: [PATCH] add default value for retry --- src/Projection/Projection/Store/DoctrineStore.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Projection/Projection/Store/DoctrineStore.php b/src/Projection/Projection/Store/DoctrineStore.php index 2b03090f..ff8ebb61 100644 --- a/src/Projection/Projection/Store/DoctrineStore.php +++ b/src/Projection/Projection/Store/DoctrineStore.php @@ -165,7 +165,8 @@ public function configureSchema(Schema $schema, Connection $connection): void $table->addColumn('error_object', Types::BLOB) ->setNotnull(false); $table->addColumn('retry', Types::INTEGER) - ->setNotnull(true); + ->setNotnull(true) + ->setDefault(0); $table->setPrimaryKey(['name', 'version']); }