Remove these indexes as we are creating them manually.
This commit is contained in:
parent
72ea1acf1d
commit
5effee4812
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Reference in a new issue