Stage changes to implement postgres DB as well as initialise its state
This commit is contained in:
8
migrations/20211105005738_create_subscriptions_table.sql
Normal file
8
migrations/20211105005738_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
|
||||
);
|
||||
Reference in New Issue
Block a user