Write your forwards methods here.

def forwards(self, orm):
        "Write your forwards methods here."
        # Project labels
        names = list(orm['samples.Project'].objects.values_list('label', flat=True))
        orm['samples.Cohort'].objects.filter(name__in=names).update(published=True)

        # World cohort
        orm['samples.Cohort'].objects.filter(name=DEFAULT_COHORT_NAME).update(published=True)