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.

15 lines
266 B

  1. -- +goose Up
  2. -- +goose StatementBegin
  3. CREATE TABLE item_tag (
  4. item_id CHAR(32),
  5. tag VARCHAR(255),
  6. PRIMARY KEY (item_id, tag),
  7. INDEX (tag)
  8. );
  9. -- +goose StatementEnd
  10. -- +goose Down
  11. -- +goose StatementBegin
  12. DROP TABLE item_tag;
  13. -- +goose StatementEnd