mirror of https://github.com/sipwise/db-schema.git
parent
828b5db6a2
commit
21eafdeaf1
@ -0,0 +1,6 @@
|
||||
USE provisioning;
|
||||
|
||||
|
||||
SELECT id INTO @pref_id FROM voip_preferences WHERE attribute='cloud_pbx_hunt_policy';
|
||||
|
||||
delete from voip_preferences_enum where preference_id=@pref_id and value in('random','circular');
|
||||
@ -0,0 +1,11 @@
|
||||
USE provisioning;
|
||||
|
||||
SELECT id INTO @pref_id FROM voip_preferences WHERE attribute='cloud_pbx_hunt_policy';
|
||||
|
||||
INSERT INTO voip_preferences_enum
|
||||
(preference_id, label, value, usr_pref, dom_pref, peer_pref, default_val)
|
||||
VALUES
|
||||
(@pref_id, 'random', 'random', 1, 0, 0, 0),
|
||||
(@pref_id, 'circular', 'circular', 1, 0, 0, 0);
|
||||
|
||||
|
||||
Loading…
Reference in new issue