mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-30 03:41:12 +00:00
8 lines
194 B
MySQL
8 lines
194 B
MySQL
|
-- 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
|
||
|
);
|