feat(devops): database init and 1st migration
This commit is contained in:
8
migrations/20240424184922_create_subscriptions_table.sql
Normal file
8
migrations/20240424184922_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