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.

19 lines
471 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE item (
  4. `id` INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
  5. `scope_id` INT NOT NULL,
  6. `project_requirement_id` INT,
  7. `name` VARCHAR(255) NOT NULL,
  8. `description` TEXT NOT NULL,
  9. `created_time` DATETIME NOT NULL,
  10. `created_user_id` CHAR(36) NOT NULL,
  11. `acquired_time` DATETIME,
  12. `scheduled_date` DATE
  13. )
  14. -- +goose StatementEnd
  15. -- +goose Down
  16. -- +goose StatementBegin
  17. DROP TABLE IF EXISTS item;
  18. -- +goose StatementEnd