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.

17 lines
401 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE project_status (
  4. project_id CHAR(16) NOT NULL,
  5. name VARCHAR(255) NOT NULL,
  6. stage INT NOT NULL,
  7. description VARCHAR(255) NOT NULL,
  8. PRIMARY KEY (project_id, name),
  9. INDEX (project_id, stage, name) # for sorting
  10. );
  11. -- +goose StatementEnd
  12. -- +goose Down
  13. -- +goose StatementBegin
  14. DROP TABLE project_status;
  15. -- +goose StatementEnd