'Runs the specified migration forwards/backwards, in order.'

def migrate(self, migration, database):

    app = migration.migrations._migrations
    migration_name = migration.name()
    self.print_status(migration)
    result = self.run(migration, database)
    self.send_ran_migration(migration, database)
    return result
