-- +goose Up
-- +goose StatementBegin
CREATE TABLE story (
    id TEXT NOT NULL PRIMARY KEY,
    author TEXT NOT NULL,
    name TEXT NOT NULL,
    category TEXT NOT NULL,
    open BOOLEAN NOT NULL,
    listed BOOLEAN NOT NULL,
    sort_by_fictional_date BOOLEAN NOT NULL,
    created_date TIMESTAMP NOT NULL,
    fictional_date TIMESTAMP NOT NULL,
    updated_date TIMESTAMP NOT NULL
);
-- +goose StatementEnd

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