mirror of https://github.com/sipwise/db-schema.git
* add voip_cf_mappings key to source_set_id * add voip_cf_mappings constraint to voip_cf_source_sets Change-Id: Ibe6e5ffc7aadb688b5dc539adbdfd27e912ad9f4mr9.4
parent
1e4360aa13
commit
c3fad34cd4
@ -0,0 +1,5 @@
|
||||
use provisioning;
|
||||
|
||||
ALTER TABLE voip_cf_mappings
|
||||
DROP KEY `cfmap_sset_idx`,
|
||||
DROP CONSTRAINT `vcm_sourceset_ref`;
|
@ -0,0 +1,5 @@
|
||||
use provisioning;
|
||||
|
||||
ALTER TABLE voip_cf_mappings
|
||||
ADD KEY `cfmap_sset_idx` (`source_set_id`),
|
||||
ADD CONSTRAINT `vcm_sourceset_ref` FOREIGN KEY (`source_set_id`) REFERENCES `voip_cf_source_sets` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
|
Loading…
Reference in new issue