This data as json, CSV (advanced)
Link | searchable_id | tag |
---|---|---|
1,feline | 1 1 | feline |
2,canine | 2 2 | canine |
JSON shape: default, array, newline-delimited, object
CREATE TABLE searchable_tags ( searchable_id integer, tag text, PRIMARY KEY (searchable_id, tag), FOREIGN KEY (searchable_id) REFERENCES searchable(pk), FOREIGN KEY (tag) REFERENCES tags(tag) );