'Write your forwards methods here.'

def forwards(self, orm):

    db.commit_transaction()
    for release_project in RangeQuerySetWrapperWithProgressBar(orm.ReleaseProject.objects.all()):
        orm.ReleaseProject.objects.filter(id=release_project.id).update(new_groups=orm.Group.objects.filter(project_id=release_project.project_id, first_release_id=release_project.release_id).count())
    db.start_transaction()
