revert database config