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/50/12550/1fa6253e069) (cherry picked from commit40eda4c01e)
parent
dc6d400e59
commit
eb40b883af
@ -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