Remove these indexes as we are creating them manually.
This commit is contained in:
parent
72ea1acf1d
commit
5effee4812
@ -328,8 +328,6 @@ EOD;
|
|||||||
$db->create_table("image_tags", "
|
$db->create_table("image_tags", "
|
||||||
image_id INTEGER NOT NULL,
|
image_id INTEGER NOT NULL,
|
||||||
tag_id INTEGER NOT NULL,
|
tag_id INTEGER NOT NULL,
|
||||||
INDEX(image_id),
|
|
||||||
INDEX(tag_id),
|
|
||||||
UNIQUE(image_id, tag_id),
|
UNIQUE(image_id, tag_id),
|
||||||
FOREIGN KEY (image_id) REFERENCES images(id) ON DELETE CASCADE,
|
FOREIGN KEY (image_id) REFERENCES images(id) ON DELETE CASCADE,
|
||||||
FOREIGN KEY (tag_id) REFERENCES tags(id) ON DELETE CASCADE
|
FOREIGN KEY (tag_id) REFERENCES tags(id) ON DELETE CASCADE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user