// verify integrity verifies every version in a migration lists migrations to the old
// version for the next migration
verify integrity verifies every version in a migration lists migrations to the old
version for the next migration
// verify integrity verifies every version in a migration lists migrations to the old // version for the next migration
func verifyIntegrity(migrations versioning.VersionedMigrationList) bool {
	for i := 0; i < migrations.Len()-1; i++ {
		if migrations[i].NewVersion() != migrations[i+1].OldVersion() {
			return false
		}
	}
	return true
}
func verifyIntegrity ( migrations versioning . VersionedMigrationList ) bool { for i := 0 ; i < migrations . Len ( ) - 1 ; i ++ { if migrations [ i ] . NewVersion ( ) != migrations [ i + 1 ] . OldVersion ( ) { return false } } return true }
verify integrity verifies every version in a migration lists migrations to the old
version for the next migration
verify integrity verifies every version in a migration lists migrations to the old version for the next migration