mirror of https://github.com/sipwise/db-schema.git
Change-Id: If462d2b6884b18851ba5acdef61b89b6e533828dchanges/23/30023/2
parent
b14ef472da
commit
d2b096b59c
@ -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='ro';
|
||||||
|
|
||||||
|
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, 'French', 'fr', 1, 1, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
commit;
|
Loading…
Reference in new issue