mirror of https://github.com/sipwise/db-schema.git
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 commitchanges/51/12551/1fa6253e069) (cherry picked from commitf164f7b950)
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…
Reference in new issue