1
0
Fork 0
forked from janek/compareware
compareware/Application/Migration/1712852503.sql

3 lines
163 B
MySQL
Raw Normal View History

2024-04-11 18:25:09 +02:00
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;