CREATE TABLE IF NOT EXISTS player_achievements (
    id             TEXT PRIMARY KEY,
    achievement_id TEXT NOT NULL UNIQUE,
    unlocked_at    TEXT NOT NULL
);

CREATE INDEX IF NOT EXISTS idx_player_achievements_id ON player_achievements (achievement_id);
