-- +goose Up
-- +goose StatementBegin
CREATE TABLE log (
    id TEXT NOT NULL PRIMARY KEY,
    short_id TEXT NOT NULL UNIQUE,
    character_ids TEXT[] NOT NULL,
    date TIMESTAMP NOT NULL,
    channel_name TEXT NOT NULL,
    event_name TEXT NOT NULL,
    title TEXT NOT NULL,
    description TEXT NOT NULL,
    open BOOLEAN NOT NULL
);
-- +goose StatementEnd

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