mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-22 00:31:01 +00:00
8 lines
No EOL
194 B
SQL
8 lines
No EOL
194 B
SQL
-- 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
|
|
); |