checkout success/failure for integrity error, and database move