mirror of https://github.com/sipwise/db-schema.git
Change-Id: Ie7d1a86710a5c718f797ba1a3496c3e5024bfd82changes/18/11118/1
parent
0160599968
commit
c2836fd590
@ -0,0 +1,3 @@
|
||||
USE provisioning;
|
||||
|
||||
DELETE FROM voip_preferences WHERE attribute='max_call_duration';
|
||||
@ -0,0 +1,16 @@
|
||||
USE provisioning;
|
||||
SET autocommit=0;
|
||||
|
||||
SELECT id INTO @grpid FROM voip_preference_groups WHERE name = 'Access Restrictions';
|
||||
|
||||
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, 'max_call_duration', 'Maximum Call Duration (seconds)', 0, 1,
|
||||
1, 0, 1, 0, 0, 0,
|
||||
now(), 0, 1, 'string', 0, 'Maximum Call Duration (seconds).'
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
Loading…
Reference in new issue