Enhance the database structure checks when they failed.