create EventStreamInPostgresql
This commit is contained in:
10 files changed
+214
-63
No files matched your search
@@ -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)
|
||||
);
|
||||
Reference in new issue
Block a user