Skip to content

Commit

Permalink
Merge pull request #455 from patchlevel/add-default-value-for-retry
Browse files Browse the repository at this point in the history
add default value for retry column
  • Loading branch information
DavidBadura authored Jan 5, 2024
2 parents da42f8c + 983fab2 commit 81b322a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Projection/Projection/Store/DoctrineStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
Expand Down

0 comments on commit 81b322a

Please sign in to comment.