zero2prod_axum/migrations/20231231135920_create_subscriptions_table.sql

9 lines
201 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
);