You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db-schema/db_scripts/diff/15881.up

38 lines
939 B

use provisioning;
set autocommit=0;
# Add 'conference_pin' to profile preferences
UPDATE voip_preferences SET
prof_pref = 1
WHERE attribute = 'conference_pin';
# Add new 'phonebook' internal preference
SELECT id INTO @vpg_id FROM voip_preference_groups WHERE name = 'Internals';
INSERT INTO voip_preferences SET
voip_preference_groups_id = @vpg_id,
attribute = 'phonebook',
label = 'Phonebook',
type = 1,
max_occur = 1,
usr_pref = 1,
prof_pref = 0,
dom_pref = 0,
peer_pref = 0,
contract_pref = 0,
contract_location_pref = 0,
dev_pref = 0,
devprof_pref = 0,
fielddev_pref = 0,
modify_timestamp = now(),
internal = 1,
expose_to_customer = 1,
data_type = 'boolean',
read_only = 0,
description = 'An internal flag for the phonebook pseudo-preference feature to be able to map it do subscriber profiles. Not directly used.',
dynamic = 0,
reseller_pref = 0,
expose_to_subscriber = 1;
COMMIT;