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/15796.down

15 lines
517 B

USE provisioning;
SET autocommit = 0;
SELECT id INTO @vp_id FROM voip_preferences WHERE attribute = 'record_call';
UPDATE voip_preferences SET data_type = 'boolean' WHERE id = @vp_id;
DELETE FROM voip_preferences_enum where preference_id = @vp_id;
UPDATE voip_usr_preferences SET value = 0 WHERE attribute_id = @vp_id and value > 1;
UPDATE voip_dom_preferences SET value = 0 WHERE attribute_id = @vp_id and value > 1;
UPDATE voip_prof_preferences SET value = 0 WHERE attribute_id = @vp_id and value > 1;
COMMIT;