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
15 lines
266 B
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE item_tag (
|
|
item_id CHAR(32),
|
|
tag VARCHAR(255),
|
|
|
|
PRIMARY KEY (item_id, tag),
|
|
INDEX (tag)
|
|
);
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP TABLE item_tag;
|
|
-- +goose StatementEnd
|