11 lines
223 B
MySQL
11 lines
223 B
MySQL
|
CREATE TABLE IF NOT EXISTS pages (
|
||
|
slug STRING PRIMARY KEY UNIQUE NOT NULL,
|
||
|
content STRING NOT NULL
|
||
|
);
|
||
|
|
||
|
CREATE TABLE IF NOT EXISTS sessions (
|
||
|
id INTEGER PRIMARY KEY NOT NULL,
|
||
|
user STRING NOT NULL,
|
||
|
expires TEXT
|
||
|
);
|