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.

16 lines
348 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE project (
  4. project_id CHAR(16) NOT NULL PRIMARY KEY,
  5. name VARCHAR(255) NOT NULL,
  6. description TEXT NOT NULL,
  7. daily_points INTEGER NOT NULL,
  8. FULLTEXT(name, description)
  9. );
  10. -- +goose StatementEnd
  11. -- +goose Down
  12. -- +goose StatementBegin
  13. DROP TABLE project;
  14. -- +goose StatementEnd