create EventStreamInPostgresql

This commit is contained in:
2025-03-29 02:42:26 +01:00
parent a427bf88c7
commit d9e05e6d9a
10 changed files with 214 additions and 63 deletions

View File

@@ -0,0 +1,7 @@
create table event_stream (
id uuid not null primary key,
aggregate_id uuid not null,
version int not null,
data jsonb not null,
unique(aggregate_id, version)
);