-- Add up migration script here

CREATE TABLE IF NOT EXISTS sessions (
    user_id BIGINT NOT NULL,
    session_key TEXT NOT NULL UNIQUE,
    expires BIGINT NOT NULL,
    CONSTRAINT fk_user FOREIGN KEY(user_id) REFERENCES users(id) ON DELETE CASCADE
)
