mirror of https://github.com/sipwise/db-schema.git
Change-Id: I7ce8bcbca31a956574c74e8783a37ba1b49f29f4
(cherry picked from commit d6c0223870)
changes/39/9139/1
parent
e1880a143f
commit
62ae50ab3a
@ -0,0 +1,10 @@
|
|||||||
|
SET AUTOCOMMIT=0;
|
||||||
|
USE provisioning;
|
||||||
|
|
||||||
|
UPDATE voip_preferences SET dom_pref = 0 WHERE attribute = "allowed_ips_grp" AND dom_pref = 1;
|
||||||
|
UPDATE voip_preferences SET dom_pref = 0 WHERE attribute = "man_allowed_ips_grp" AND dom_pref = 1;
|
||||||
|
UPDATE voip_preferences SET dom_pref = 0 WHERE attribute = "allowed_ips" AND dom_pref = 1;
|
||||||
|
UPDATE voip_preferences SET dom_pref = 0 WHERE attribute = "man_allowed_ips" AND dom_pref = 1;
|
||||||
|
UPDATE voip_preferences SET dom_pref = 0 WHERE attribute = "ignore_allowed_ips" AND dom_pref = 1;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
SET AUTOCOMMIT=0;
|
||||||
|
USE provisioning;
|
||||||
|
|
||||||
|
UPDATE voip_preferences SET dom_pref = 1 WHERE attribute = "allowed_ips_grp" AND dom_pref = 0;
|
||||||
|
UPDATE voip_preferences SET dom_pref = 1 WHERE attribute = "man_allowed_ips_grp" AND dom_pref = 0;
|
||||||
|
UPDATE voip_preferences SET dom_pref = 1 WHERE attribute = "allowed_ips" AND dom_pref = 0;
|
||||||
|
UPDATE voip_preferences SET dom_pref = 1 WHERE attribute = "man_allowed_ips" AND dom_pref = 0;
|
||||||
|
UPDATE voip_preferences SET dom_pref = 1 WHERE attribute = "ignore_allowed_ips" AND dom_pref = 0;
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
Loading…
Reference in new issue