diff --git a/db_scripts/diff/15249.down b/db_scripts/diff/15249.down new file mode 100644 index 00000000..4b0a6238 --- /dev/null +++ b/db_scripts/diff/15249.down @@ -0,0 +1,3 @@ +USE provisioning; + +DELETE FROM voip_preferences WHERE attribute = 'lawful_interception'; diff --git a/db_scripts/diff/15249.up b/db_scripts/diff/15249.up new file mode 100644 index 00000000..7d780e55 --- /dev/null +++ b/db_scripts/diff/15249.up @@ -0,0 +1,18 @@ +SET AUTOCOMMIT=0; + +USE provisioning; + +SELECT id INTO @pgid FROM voip_preference_groups WHERE name = 'Internals'; + +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 + (@pgid, 'lawful_interception', 'Lawful Interception', 1, 1, + 1, 0, 0, 0, 0, 0, + now(), 0, 0, 'boolean', 0, + 'Enables lawful interception for the subscriber.'); + +COMMIT;