now enforcing order of AppliedMigrations, as assumed in the rest of the code