blogdb/db/memory/migrations/20241014020038_init.sql

11 lines
223 B
MySQL
Raw Permalink Normal View History

2024-11-13 21:38:41 -05:00
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
);