mailApp/migrations/20211105005738_create_subscriptions_table.sql

8 lines
199 B
MySQL
Raw Normal View History

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