restructured, added db connection pool
This commit is contained in:
8
migrations/20240214155303_create_subscriptions_table.sql
Normal file
8
migrations/20240214155303_create_subscriptions_table.sql
Normal file
@ -0,0 +1,8 @@
|
||||
-- Add migration script here
|
||||
CREATE TABLE subscriptions(
|
||||
id uuid NOT NULL,
|
||||
PRIMARY KEY (id),
|
||||
email TEXT NOT NULL UNIQUE,
|
||||
name TEXT NOT NULL,
|
||||
subscribed_at timestamptz NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user