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.

17 lines
392 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE data_character (
  4. id CHAR(8) NOT NULL PRIMARY KEY,
  5. nicks TEXT[] NOT NULL,
  6. name TEXT NOT NULL,
  7. short_name TEXT NOT NULL,
  8. author TEXT NOT NULL,
  9. description TEXT NOT NULL,
  10. ts_vector TSVECTOR NOT NULL
  11. );
  12. -- +goose StatementEnd
  13. -- +goose Down
  14. -- +goose StatementBegin
  15. DROP TABLE data_character;
  16. -- +goose StatementEnd