feat(devops): database init and 1st migration

This commit is contained in:
2024-04-24 15:08:57 -04:00
parent 84fc74a0d1
commit 3c09eccfef
2 changed files with 75 additions and 0 deletions

View 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
);