Remove these indexes as we are creating them manually.

This commit is contained in:
jgen 2014-02-22 22:13:26 -05:00
parent 72ea1acf1d
commit 5effee4812

View file

@ -328,8 +328,6 @@ EOD;
$db->create_table("image_tags", "
image_id INTEGER NOT NULL,
tag_id INTEGER NOT NULL,
INDEX(image_id),
INDEX(tag_id),
UNIQUE(image_id, tag_id),
FOREIGN KEY (image_id) REFERENCES images(id) ON DELETE CASCADE,
FOREIGN KEY (tag_id) REFERENCES tags(id) ON DELETE CASCADE