mirror of https://github.com/sipwise/db-schema.git
Change-Id: I8b43de9435e1dbf1ba6d3331b93f2f27bbdcb443
(cherry picked from commit ca64bb31b8)
changes/28/2628/1
parent
bb755a733b
commit
8df9994406
@ -0,0 +1,10 @@
|
|||||||
|
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='ro';
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
SET AUTOCOMMIT=1;
|
||||||
|
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
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, 'Romanian', 'ro', 1, 1, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
|
SET AUTOCOMMIT=1;
|
||||||
|
|
||||||
Loading…
Reference in new issue