-- +goose Up
-- +goose StatementBegin
ALTER TABLE goal
    ADD COLUMN composition_mode TEXT NOT NULL DEFAULT 'item',
    ADD COLUMN unweighted BOOL NOT NULL DEFAULT false,
    ADD COLUMN item_id CHAR(16) DEFAULT NULL;
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
ALTER TABLE goal
    DROP COLUMN composition_mode,
    DROP COLUMN unweighted,
    DROP COLUMN item_id;
-- +goose StatementEnd
