Revert database