-- +goose Up
-- +goose StatementBegin
CREATE TABLE task (
    task_id CHAR(16) PRIMARY KEY,
    user_id CHAR(36) NOT NULL,
    item_id CHAR(16) NOT NULL,
    project_id CHAR(16) NOT NULL,
    item_amount INT NOT NULL,
    name TEXT NOT NULL,
    description TEXT NOT NULL,
    created_time TIMESTAMP NOT NULL,
    active BOOLEAN NOT NULL,
    end_time TIMESTAMP
);
-- +goose StatementEnd

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