diff --git a/db_scripts/diff/15257.down b/db_scripts/diff/15257.down new file mode 100644 index 00000000..1089bf1b --- /dev/null +++ b/db_scripts/diff/15257.down @@ -0,0 +1,3 @@ +USE provisioning; + +DELETE FROM voip_preferences WHERE attribute = 'anonymize_from_user'; \ No newline at end of file diff --git a/db_scripts/diff/15257.up b/db_scripts/diff/15257.up new file mode 100644 index 00000000..9d95275a --- /dev/null +++ b/db_scripts/diff/15257.up @@ -0,0 +1,10 @@ +use provisioning; +set autocommit=0; + +SELECT id into @vpg_id FROM voip_preference_groups where name = 'Number Manipulations'; + +INSERT INTO voip_preferences (voip_preference_groups_id, attribute, label, type, max_occur, usr_pref, prof_pref, dom_pref, peer_pref, contract_pref, modify_timestamp, internal, expose_to_customer, data_type, read_only, description) +VALUES + (@vpg_id, 'anonymize_from_user', "Anonymize From User", 0, 1, 0, 0, 0, 1, 0, NOW(), 0, 0, 'boolean', 0, 'Anonymize the From-Username in addition to From-Displayname in case of CLIR call to this peer.'); + +commit; \ No newline at end of file