zero-to-production/migrations/20220313190920_create_newsletter_issues_table.sql

9 lines
227 B
MySQL
Raw Normal View History

2022-03-13 19:36:44 +00:00
CREATE TABLE newsletter_issues (
newsletter_issue_id uuid NOT NULL,
title TEXT NOT NULL,
text_content TEXT NOT NULL,
html_content TEXT NOT NULL,
published_at TEXT NOT NULL,
PRIMARY KEY(newsletter_issue_id)
);