GraphQL API and utilities for the rpdata project
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.

20 lines
503 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE story_chapter (
  4. id TEXT NOT NULL PRIMARY KEY,
  5. story_id TEXT NOT NULL,
  6. title TEXT NOT NULL,
  7. author TEXT NOT NULL,
  8. source TEXT NOT NULL,
  9. created_date TIMESTAMP NOT NULL,
  10. fictional_date TIMESTAMP NOT NULL,
  11. edited_date TIMESTAMP NOT NULL,
  12. comment_mode TEXT NOT NULL,
  13. comments_locked BOOLEAN NOT NULL
  14. );
  15. -- +goose StatementEnd
  16. -- +goose Down
  17. -- +goose StatementBegin
  18. DROP TABLE story_chapter;
  19. -- +goose StatementEnd