-- +goose Up
-- +goose StatementBegin
CREATE TABLE story_chapter (
    id TEXT NOT NULL PRIMARY KEY,
    story_id TEXT NOT NULL,
    title TEXT NOT NULL,
    author TEXT NOT NULL,
    source TEXT NOT NULL,
    created_date TIMESTAMP NOT NULL,
    fictional_date TIMESTAMP NOT NULL,
    edited_date TIMESTAMP NOT NULL,
    comment_mode TEXT NOT NULL,
    comments_locked BOOLEAN NOT NULL
);
-- +goose StatementEnd

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