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.

15 lines
307 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE common_tag (
  4. tag TEXT NOT NULL,
  5. target_kind TEXT NOT NULL,
  6. target_id TEXT NOT NULL,
  7. PRIMARY KEY (tag, target_kind, target_id)
  8. );
  9. -- +goose StatementEnd
  10. -- +goose Down
  11. -- +goose StatementBegin
  12. DROP TABLE common_tag;
  13. -- +goose StatementEnd