Some revisionism to allow migration history to be run on InnoDB database.