mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-18 14:06:37 +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
|
||
|
);
|