-- +goose Up
-- +goose StatementBegin
CREATE TABLE log (
    log_id CHAR(24) NOT NULL PRIMARY KEY,
    user_id CHAR(32) NOT NULL,
    date TIMESTAMP NOT NULL,
    description TEXT NOT NULL,

    INDEX (user_id),
    INDEX (date)
);
-- +goose StatementEnd

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