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: If72354639f501e8925680a664ef61951940b8ecechanges/72/12472/1
parent
99ac96b4ee
commit
fa6253e069
@ -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