mirror of https://github.com/sipwise/db-schema.git
Change-Id: I36cc20696fdc847214511017eae1ac276a839f1dmr11.5
parent
83c20dbcbb
commit
604656c031
@ -0,0 +1,9 @@
|
||||
SET autocommit=0;
|
||||
|
||||
USE provisioning
|
||||
|
||||
SELECT id FROM voip_preferences where attribute='language' INTO @pref_id;
|
||||
|
||||
DELETE FROM voip_preferences_enum WHERE preference_id=@pref_id AND value='pt_br';
|
||||
|
||||
commit;
|
||||
@ -0,0 +1,12 @@
|
||||
SET autocommit=0;
|
||||
|
||||
USE provisioning
|
||||
|
||||
SELECT id FROM voip_preferences where attribute='language' INTO @pref_id;
|
||||
|
||||
INSERT INTO voip_preferences_enum
|
||||
(preference_id, label, value, usr_pref, dom_pref, peer_pref, contract_pref, prof_pref, default_val)
|
||||
VALUES
|
||||
(@pref_id, 'Brazilian Portuguese', 'pt_br', 1, 1, 0, 0, 0, 0);
|
||||
|
||||
commit;
|
||||
Loading…
Reference in new issue