@@ -0,0 +1,481 @@
+from django.db import migrations%0A%0A%0Adef set_opened(apps, schema_editor):%0A    School = apps.get_model('app', 'School')%0A%0A    schools = School.objects.all().order_by('id')%0A    lth = len(schools) - 1%0A    for index, sc in enumerate(schools):%0A        if index %3C lth:%0A            sc.opened = True%0A            sc.save()%0A%0A%0Aclass Migration(migrations.Migration):%0A    dependencies = %5B%0A        ('app', '0065_timeslot'),%0A    %5D%0A%0A    operations = %5B%0A        migrations.RunPython(set_opened),%0A    %5D%0A

set school opened to test