CREATE TABLE sessions (
    session_id char(64) NOT NULL,
    user_id int NOT NULL,
    expires int NOT NULL,

    PRIMARY KEY (session_id),
    FOREIGN KEY (user_id) REFERENCES users
);
