Create index for id_contact and prop_type on rainloop_ab_properties

This commit is contained in:
Martin Stenröse 2017-12-05 08:40:43 +01:00
parent a8a1efb071
commit 8068ce4ec2

View file

@ -1787,7 +1787,8 @@ CREATE TABLE IF NOT EXISTS rainloop_ab_properties (
PRIMARY KEY(id_prop), PRIMARY KEY(id_prop),
INDEX id_user_rainloop_ab_properties_index (id_user), INDEX id_user_rainloop_ab_properties_index (id_user),
INDEX id_user_id_contact_rainloop_ab_properties_index (id_user, id_contact) INDEX id_user_id_contact_rainloop_ab_properties_index (id_user, id_contact),
INDEX id_contact_prop_type_rainloop_ab_properties_index (id_contact, prop_type)
)/*!40000 ENGINE=INNODB *//*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */; )/*!40000 ENGINE=INNODB *//*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;