mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-23 07:15:50 -04:00
Add a key on item_id so that our query to find missing exif records is efficient
This commit is contained in:
@@ -35,7 +35,8 @@ class exif_installer {
|
||||
`id` int(9) NOT NULL auto_increment,
|
||||
`item_id` int(9) NOT NULL,
|
||||
`dirty` BOOLEAN default 1,
|
||||
PRIMARY KEY (`id`))
|
||||
PRIMARY KEY (`id`),
|
||||
KEY(`item_id`))
|
||||
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
|
||||
module::set_version("exif", 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user