revert sql_changes