CREATE TABLE IF NOT EXISTS tokens (
    `token` TEXT NOT NULL PRIMARY KEY,
    `user_id` INTEGER NOT NULL REFERENCES user(id) ON DELETE CASCADE,
    `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP,
    `expires_at` DATETIME NOT NULL
);