update tbg_customfields set `key` = replace(`key`,"á","a");
update tbg_customfields set `key` = replace(`key`,"é", "e");
update tbg_customfields set `key` = replace(`key`,"í", "i");
update tbg_customfields set `key` = replace(`key`,"ó", "o");
update tbg_customfields set `key` = replace(`key`,"ú", "u");
update tbg_customfields set `key` = replace(`key`,"Á", "A");
update tbg_customfields set `key` = replace(`key`,"É", "E");
update tbg_customfields set `key` = replace(`key`,"Í", "I");
update tbg_customfields set `key` = replace(`key`,"Ó", "O");
update tbg_customfields set `key` = replace(`key`,"Ú", "U");
update tbg_customfields set `key` = replace(`key`,"ñ", "n");
update tbg_customfields set `key` = replace(`key`,"Ñ", "N");

update tbg_customfieldoptions set `key` = replace(`key`,"á","a");
update tbg_customfieldoptions set `key` = replace(`key`,"é", "e");
update tbg_customfieldoptions set `key` = replace(`key`,"í", "i");
update tbg_customfieldoptions set `key` = replace(`key`,"ó", "o");
update tbg_customfieldoptions set `key` = replace(`key`,"ú", "u");
update tbg_customfieldoptions set `key` = replace(`key`,"Á", "A");
update tbg_customfieldoptions set `key` = replace(`key`,"É", "E");
update tbg_customfieldoptions set `key` = replace(`key`,"Í", "I");
update tbg_customfieldoptions set `key` = replace(`key`,"Ó", "O");
update tbg_customfieldoptions set `key` = replace(`key`,"Ú", "U");
update tbg_customfieldoptions set `key` = replace(`key`,"ñ", "n");
update tbg_customfieldoptions set `key` = replace(`key`,"Ñ", "N");

update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"á","a");
update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"é", "e");
update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"í", "i");
update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"ó", "o");
update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"ú", "u");
update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"Á", "A");
update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"É", "E");
update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"Í", "I");
update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"Ó", "O");
update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"Ú", "U");
update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"ñ", "n");
update tbg_workflow_transition_actions set `action_type` = replace(`action_type`,"Ñ", "N");

update tbg_issuefields set `field_key` = replace(`field_key`,"á","a");
update tbg_issuefields set `field_key` = replace(`field_key`,"é", "e");
update tbg_issuefields set `field_key` = replace(`field_key`,"í", "i");
update tbg_issuefields set `field_key` = replace(`field_key`,"ó", "o");
update tbg_issuefields set `field_key` = replace(`field_key`,"ú", "u");
update tbg_issuefields set `field_key` = replace(`field_key`,"Á", "A");
update tbg_issuefields set `field_key` = replace(`field_key`,"É", "E");
update tbg_issuefields set `field_key` = replace(`field_key`,"Í", "I");
update tbg_issuefields set `field_key` = replace(`field_key`,"Ó", "O");
update tbg_issuefields set `field_key` = replace(`field_key`,"Ú", "U");
update tbg_issuefields set `field_key` = replace(`field_key`,"ñ", "n");
update tbg_issuefields set `field_key` = replace(`field_key`,"Ñ", "N");