Revert database config