compareware/Application/Migration/1712852503.sql
2024-04-11 18:25:09 +02:00

2 lines
163 B
SQL

CREATE INDEX tags_item_id_index ON tags (item_id);
ALTER TABLE tags ADD CONSTRAINT tags_ref_item_id FOREIGN KEY (item_id) REFERENCES items (id) ON DELETE CASCADE;