diff --git a/db_scripts/diff/15685.down b/db_scripts/diff/15685.down new file mode 100644 index 00000000..1806e499 --- /dev/null +++ b/db_scripts/diff/15685.down @@ -0,0 +1,5 @@ +USE provisioning; + +select id into @voipprefsid from voip_preferences where attribute ='extended_dialing_mode'; + +delete from voip_preferences_enum where preference_id=@voipprefsid and value='extended_send_primary_plus_extension'; \ No newline at end of file diff --git a/db_scripts/diff/15685.up b/db_scripts/diff/15685.up new file mode 100644 index 00000000..6342378c --- /dev/null +++ b/db_scripts/diff/15685.up @@ -0,0 +1,15 @@ +USE provisioning; +SET autocommit=0; + +select id into @voipprefsid from voip_preferences where attribute ='extended_dialing_mode'; + +INSERT INTO voip_preferences_enum SET + preference_id = @voipprefsid, + label = 'Extended matching, send primary number with extension', + value = 'extended_send_primary_plus_extension', + usr_pref = 1, + dom_pref = 1, + peer_pref = 0, + prof_pref = 1; + +COMMIT; \ No newline at end of file