-- +goose Up
-- +goose StatementBegin
CREATE TABLE project_status (
    project_id CHAR(16) NOT NULL,
    name VARCHAR(255) NOT NULL,
    stage INT NOT NULL,
    description VARCHAR(255) NOT NULL,

    PRIMARY KEY (project_id, name),
    INDEX (project_id, stage, name) # for sorting
);
-- +goose StatementEnd

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