7 lines
139 B
MySQL
7 lines
139 B
MySQL
|
CREATE TABLE posts (
|
||
|
id SERIAL PRIMARY KEY,
|
||
|
title VARCHAR NOT NULL,
|
||
|
body TEXT NOT NULL,
|
||
|
published BOOLEAN NOT NULL DEFAULT FALSE
|
||
|
)
|