mirror of https://github.com/sipwise/db-schema.git
Change-Id: I6d23d7acdf4ef9dd71d777458a1e4a620272119achanges/77/14977/2
parent
fbf631019b
commit
c482b30217
@ -0,0 +1,7 @@
|
||||
use provisioning;
|
||||
|
||||
set autocommit=0;
|
||||
|
||||
delete from voip_preferences where attribute = 'manager_secretary';
|
||||
|
||||
commit;
|
@ -0,0 +1,16 @@
|
||||
USE provisioning;
|
||||
SET autocommit=0;
|
||||
|
||||
SELECT id INTO @grpid FROM voip_preference_groups WHERE name = 'Number Manipulations';
|
||||
|
||||
INSERT INTO voip_preferences(
|
||||
id,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
|
||||
(NULL, @grpid, 'manager_secretary', '"Manager Secretary" call forwardings toggle', 1, 1,
|
||||
1, 0, 0, 0, 0, 0,
|
||||
now(), 0, 1, 'boolean', 0, 'Turns on and off "Manager Secretary" call forwardings'
|
||||
);
|
||||
|
||||
COMMIT;
|
Loading…
Reference in new issue