'Returns the migration that comes after this one in the sequence.'

def next(self):

    index = (self.migrations.index(self) + 1)
    if (index >= len(self.migrations)):
        return None
    return self.migrations[index]
