TT#11432 make index on cf_source_sets more loose

by adding the subscriber_id. This is still fine, to reference them
uniquely per subscriber but allows e.g. for the same name in different
subscriber like the automatically created sets like "quickset_cfu".

Change-Id: If72354639f501e8925680a664ef61951940b8ece
(cherry picked from commit fa6253e069)
(cherry picked from commit f164f7b950)
changes/51/12551/1
Gerhard Jungwirth 9 years ago
parent 6c5fc215bf
commit c4fa7e7e48

@ -0,0 +1,6 @@
USE provisioning;
ALTER TABLE `provisioning`.`voip_cf_source_sets`
ADD UNIQUE INDEX `cf_sourcesets_name_unique` (`name` ASC),
DROP INDEX `cf_sourcesets_sid_name_unique`;

@ -0,0 +1,6 @@
USE provisioning;
ALTER TABLE `provisioning`.`voip_cf_source_sets`
ADD UNIQUE INDEX `cf_sourcesets_sid_name_unique` (`subscriber_id` ASC, `name` ASC),
DROP INDEX `cf_sourcesets_name_unique`;
Loading…
Cancel
Save