chore: initial commit

This commit is contained in:
2024-04-16 22:27:52 +01:00
commit 531b5dabe2
194 changed files with 27071 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
CREATE TABLE users (
id bigserial PRIMARY KEY,
first_name varchar(64) NOT NULL,
last_name varchar(64) NOT NULL,
email varchar NOT NULL UNIQUE,
created_at timestamp NOT NULL DEFAULT timezone('utc', now()),
updated_at timestamp
);
CREATE TABLE event_outbox (
id bigserial PRIMARY KEY,
aggregateid varchar(128) NOT NULL,
aggregatetype varchar(128) NOT NULL,
payload bytea NOT NULL
);