-- +goose Up
-- +goose StatementBegin
CREATE TABLE goal (
    goal_id CHAR(16) PRIMARY KEY,
    user_id CHAR(36) NOT NULL,
    group_id CHAR(16) NOT NULL,
    start_time TIMESTAMP NOT NULL,
    end_time TIMESTAMP NOT NULL,
    amount INTEGER NOT NULL,
    name TEXT NOT NULL,
    description TEXT NOT NULL
);
-- +goose StatementEnd

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