def set_current_migration(self, migration_number=None):
        """
        Set the migration in the database to migration_number
        (or, the latest available)
        """
        self.migration_data.version = migration_number or self.latest_migration
        self.session.commit()
def set_current_migration ( self , migration_number = None ) : self . migration_data . version = migration_number or self . latest_migration self . session . commit ( )
Set the migration in the database to migration_number
        (or, the latest available)