Skip to content

Commit

Permalink
fix(OutboxMessage): fix ID generation strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed Jul 3, 2024
1 parent e1cce20 commit 84f9ebf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.4.0

* fix(OutboxMessage): fix ID generation strategy

## 2.3.4

* fix: collect events at the beginning of `dispatchPostFlushDomainEvents()`, fix
Expand Down
4 changes: 2 additions & 2 deletions packages/domain-event-outbox/src/Entity/OutboxMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
class OutboxMessage
{
#[Id]
#[Column(type: "integer")]
#[GeneratedValue(strategy: "AUTO")]
#[Column]
#[GeneratedValue]
private ?int $id = null;

#[Column(type: "text")]
Expand Down

0 comments on commit 84f9ebf

Please sign in to comment.