Skip to content

Commit

Permalink
Add migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ftassi committed Sep 15, 2023
1 parent abb1445 commit d3de776
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions migrations/20230913063440_create_subscription_table.sql
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit d3de776

Please sign in to comment.