PostText/migrations/1/up.sql

10 lines
297 B
MySQL
Raw Normal View History

2022-07-30 02:15:14 +00:00
CREATE TABLE IF NOT EXISTS threads (
thread_id SERIAL PRIMARY KEY,
2022-09-03 05:19:34 +00:00
thread_date TIMESTAMPTZ DEFAULT NOW(),
2022-07-30 02:15:14 +00:00
thread_author VARCHAR(64),
thread_title VARCHAR(256),
thread_body VARCHAR(4096),
hidden_status BOOLEAN NOT NULL,
flagged_status BOOLEAN NOT NULL
);