UPDATE thread_comment SET type='risk' WHERE type='cause_potential'; UPDATE thread_comment SET type='cause' WHERE type='cause_real';