diff --git a/db_scripts/diff/15302.down b/db_scripts/diff/15302.down new file mode 100644 index 00000000..03902d87 --- /dev/null +++ b/db_scripts/diff/15302.down @@ -0,0 +1,6 @@ +use provisioning; +set autocommit=0; + +DELETE from voip_preferences where attribute = 'party_call_control'; + +commit; diff --git a/db_scripts/diff/15302.up b/db_scripts/diff/15302.up new file mode 100644 index 00000000..e0fab398 --- /dev/null +++ b/db_scripts/diff/15302.up @@ -0,0 +1,20 @@ +use provisioning; +set autocommit=0; + +SELECT id into @vpg_id FROM voip_preference_groups where name = 'Applications'; +INSERT INTO voip_preferences ( + voip_preference_groups_id, attribute, label, + type, max_occur, usr_pref, prof_pref, + dom_pref, peer_pref, contract_pref, contract_location_pref, + modify_timestamp, internal, expose_to_customer, + data_type, read_only, + description) + VALUES + (@vpg_id, 'party_call_control', 'Party Call Control', + 0, 1, 1, 1, + 1, 0, 1, 0, + NOW(), 0, 0, + 'boolean', 0, + 'Enable Pary Call Control (PCC) Application to route calls to a remote API server first and continue the call only upon an accepted reply'); + +commit;