TT#80407 add Arabic, Hebrew and Dutch languages to the enum preference

Change-Id: Ie7b912602d6c51d6bb4629b1e1dd93841199ae2e
(cherry picked from commit 5bdb4004b6)
mr8.5.1
Marco Capetta 5 years ago
parent 95b116b2fd
commit 72cca0c608

@ -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 in ('ar', 'he', 'nl');
commit;

@ -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, 'Arabic', 'ar', 1, 1, 0, 0, 0, 0),
(@pref_id, 'Hebrew', 'he', 1, 1, 0, 0, 0, 0),
(@pref_id, 'Dutch', 'nl', 1, 1, 0, 0, 0, 0);
commit;
Loading…
Cancel
Save