mirror of https://github.com/sipwise/db-schema.git
Change-Id: I3b4a66c6f63d76800ef3e77b08acd70ff7f58c20changes/69/7969/6
parent
43e5405a23
commit
d5c9d04098
@ -0,0 +1,6 @@
|
|||||||
|
use provisioning;
|
||||||
|
set autocommit=0;
|
||||||
|
|
||||||
|
DELETE from voip_preferences where attribute = 'recent_calls_by_upn';
|
||||||
|
|
||||||
|
commit;
|
@ -0,0 +1,20 @@
|
|||||||
|
use provisioning;
|
||||||
|
set autocommit=0;
|
||||||
|
|
||||||
|
SELECT id into @vpg_id 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
|
||||||
|
(@vpg_id, 'recent_calls_by_upn', "Recent Calls by UPN",
|
||||||
|
0, 1, 1, 1,
|
||||||
|
1, 0, 1, 0,
|
||||||
|
NOW(), 0, 0,
|
||||||
|
'boolean', 0,
|
||||||
|
'Use User-Provided-Number instead of Subscriber UUID when storing recent calls'
|
||||||
|
|
||||||
|
commit;
|
Loading…
Reference in new issue