diff --git a/db_scripts/diff/15238.down b/db_scripts/diff/15238.down new file mode 100644 index 00000000..82d3756b --- /dev/null +++ b/db_scripts/diff/15238.down @@ -0,0 +1,8 @@ +USE provisioning; +set autocommit=0; + +SELECT id FROM voip_preferences WHERE attribute='use_rtpproxy' INTO @pref_id; + +DELETE FROM voip_preferences_enum WHERE preference_id=@pref_id AND value='ice_force_relay_candidates'; + +commit; diff --git a/db_scripts/diff/15238.up b/db_scripts/diff/15238.up new file mode 100644 index 00000000..b79b4af1 --- /dev/null +++ b/db_scripts/diff/15238.up @@ -0,0 +1,11 @@ +USE provisioning; +set autocommit=0; + +SELECT id FROM voip_preferences WHERE attribute='use_rtpproxy' INTO @pref_id; + +INSERT INTO voip_preferences_enum +(preference_id, label, value, usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, contract_location_pref, default_val) +VALUES +(@pref_id, 'Always with rtpproxy as ICE relay candidate', 'ice_force_relay_candidates', 1, 1, 1, 1, 0, 0, 0); + +commit;