You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db-schema/db_scripts/diff/15718.up

12 lines
391 B

SET autocommit=0;
USE provisioning
SELECT id FROM voip_preferences where attribute='language' INTO @pref_id;
UPDATE voip_usr_preferences SET value = 'en' WHERE value = 'ru' AND attribute_id = @pref_id;
UPDATE voip_dom_preferences SET value = 'en' WHERE value = 'ru' AND attribute_id = @pref_id;
DELETE FROM voip_preferences_enum WHERE preference_id=@pref_id AND value in ('ru');
commit;