CREATE TABLE IF NOT EXISTS players (
    id            TEXT PRIMARY KEY,
    email         TEXT NOT NULL UNIQUE,
    name          TEXT NOT NULL,
    password_hash TEXT NOT NULL,
    role          TEXT NOT NULL DEFAULT 'player',
    created_at    TEXT NOT NULL DEFAULT (datetime('now'))
);
