chore: first working version with integration test
This commit is contained in:
parent
f869b0f067
commit
122c38a0da
19 changed files with 266 additions and 1214 deletions
8
migrations/20220318150330_create_subscriptions_table.sql
Normal file
8
migrations/20220318150330_create_subscriptions_table.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- Create Subscriptions Table
|
||||
CREATE TABLE subscriptions (
|
||||
id UUID NOT NULL,
|
||||
PRIMARY KEY (id),
|
||||
email TEXT NOT NULL UNIQUE,
|
||||
name TEXT NOT NULL,
|
||||
subscribed_at TIMESTAMPTZ NOT NULL
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue