stufflog graphql server
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.

26 lines
636 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE issue_task (
  4. issue_task_id CHAR(48) PRIMARY KEY,
  5. issue_id CHAR(32) NOT NULL,
  6. activity_id CHAR(16) NOT NULL,
  7. created_time TIMESTAMP NOT NULL,
  8. updated_time TIMESTAMP NOT NULL,
  9. due_time TIMESTAMP,
  10. status_stage INT NOT NULL,
  11. status_name CHAR(32) NOT NULL,
  12. name VARCHAR(255) NOT NULL,
  13. description TEXT NOT NULL,
  14. estimated_time BIGINT NOT NULL,
  15. estimated_units INT NOT NULL,
  16. points_multiplier FLOAT NOT NULL,
  17. INDEX (issue_id),
  18. INDEX (activity_id)
  19. );
  20. -- +goose StatementEnd
  21. -- +goose Down
  22. -- +goose StatementBegin
  23. DROP TABLE issue_task;
  24. -- +goose StatementEnd