Loggest thy stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
407 B

3 years ago
3 years ago
3 years ago
  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE project (
  4. `id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
  5. `scope_id` INT NOT NULL,
  6. `author_id` CHAR(36) NOT NULL,
  7. `name` VARCHAR(255) NOT NULL,
  8. `status` INT NOT NULL,
  9. `description` TEXT NOT NULL,
  10. UNIQUE (`scope_id`, `name`)
  11. )
  12. -- +goose StatementEnd
  13. -- +goose Down
  14. -- +goose StatementBegin
  15. DROP TABLE IF EXISTS project;
  16. -- +goose StatementEnd