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.

19 lines
440 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE log (
  4. id TEXT NOT NULL PRIMARY KEY,
  5. short_id TEXT NOT NULL UNIQUE,
  6. character_ids TEXT[] NOT NULL,
  7. date TIMESTAMP NOT NULL,
  8. channel_name TEXT NOT NULL,
  9. event_name TEXT NOT NULL,
  10. title TEXT NOT NULL,
  11. description TEXT NOT NULL,
  12. open BOOLEAN NOT NULL
  13. );
  14. -- +goose StatementEnd
  15. -- +goose Down
  16. -- +goose StatementBegin
  17. DROP TABLE log;
  18. -- +goose StatementEnd