zero-to-production/migrations/20220313190920_create_newsletter_issues_table.sql
2022-03-13 19:41:50 +00:00

8 lines
227 B
SQL

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