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.

16 lines
391 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE project_group (
  4. project_group_id CHAR(16) NOT NULL PRIMARY KEY,
  5. user_id CHAR(36) NOT NULL,
  6. name TEXT NOT NULL,
  7. abbreviation TEXT NOT NULL,
  8. description TEXT NOT NULL,
  9. category_names JSONB NOT NULL
  10. );
  11. -- +goose StatementEnd
  12. -- +goose Down
  13. -- +goose StatementBegin
  14. DROP TABLE IF EXISTS project_group;
  15. -- +goose StatementEnd