-- +goose Up
-- +goose StatementBegin
CREATE TABLE project (
  `id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
  `scope_id` INT NOT NULL,
  `author_id` CHAR(36) NOT NULL,
  `name` VARCHAR(255) NOT NULL,
  `status` INT NOT NULL,
  `description` TEXT NOT NULL,

  UNIQUE (`scope_id`, `name`)
);
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
DROP TABLE IF EXISTS project;
-- +goose StatementEnd
