diff --git a/db_scripts/diff/15300.down b/db_scripts/diff/15300.down new file mode 100644 index 00000000..7d29ad43 --- /dev/null +++ b/db_scripts/diff/15300.down @@ -0,0 +1,4 @@ +USE provisioning; + +DELETE FROM voip_preferences_enum + WHERE value = 'force_interdomain'; \ No newline at end of file diff --git a/db_scripts/diff/15300.up b/db_scripts/diff/15300.up new file mode 100644 index 00000000..c99333f9 --- /dev/null +++ b/db_scripts/diff/15300.up @@ -0,0 +1,15 @@ +USE provisioning; +SET autocommit=0; + +SELECT id INTO @vpid FROM voip_preferences + WHERE attribute = 'force_outbound_calls_to_peer'; + +INSERT INTO voip_preferences_enum +(preference_id, label, value, usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, contract_location_pref, dev_pref, devprof_pref, default_val) +VALUES ( + @vpid, 'If caller and callee belong to different domains', + 'force_interdomain', + 1, 0, 1, 0, 1, 0, 0, 0, NULL +); + +COMMIT; \ No newline at end of file