-- +goose Up
-- +goose StatementBegin
CREATE TABLE session (
    session_id CHAR(32) NOT NULL PRIMARY KEY,
    user_id CHAR(32) NOT NULL,
    expiry_time TIMESTAMP NOT NULL,

    INDEX(expiry_time)
);
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
DROP TABLE session;
-- +goose StatementEnd
