from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [("kolibriauth", "0015_facilitydataset_registered")]

    operations = [
        migrations.CreateModel(
            name="AdHocGroup",
            fields=[],
            options={"indexes": [], "proxy": True},
            bases=("kolibriauth.collection",),
        ),
        migrations.AlterField(
            model_name="collection",
            name="kind",
            field=models.CharField(
                choices=[
                    ("facility", "Facility"),
                    ("classroom", "Classroom"),
                    ("learnergroup", "Learner group"),
                    ("adhoclearnersgroup", "Individual learners group"),
                ],
                max_length=20,
            ),
        ),
    ]

from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [("kolibriauth", "0015_facilitydataset_registered")]

    operations = [
        migrations.CreateModel(
            name="AdHocGroup",
            fields=[],
            options={"indexes": [], "proxy": True},
            bases=("kolibriauth.collection",),
        ),
        migrations.AlterField(
            model_name="collection",
            name="kind",
            field=models.CharField(
                choices=[
                    ("facility", "Facility"),
                    ("classroom", "Classroom"),
                    ("learnergroup", "Learner group"),
                    ("adhoclearnersgroup', 'Ad hoc learners group"),
                ],
                max_length=20,
            ),
        ),
    ]

Fix migration file for new collection kind name
Fix migration file for new collection kind name

  from __future__ import unicode_literals
  
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      dependencies = [("kolibriauth", "0015_facilitydataset_registered")]
  
      operations = [
          migrations.CreateModel(
              name="AdHocGroup",
              fields=[],
              options={"indexes": [], "proxy": True},
              bases=("kolibriauth.collection",),
          ),
          migrations.AlterField(
              model_name="collection",
              name="kind",
              field=models.CharField(
                  choices=[
                      ("facility", "Facility"),
                      ("classroom", "Classroom"),
                      ("learnergroup", "Learner group"),
-                     ("adhoclearnersgroup", "Individual learners group"),
+                     ("adhoclearnersgroup', 'Ad hoc learners group"),
                  ],
                  max_length=20,
              ),
          ),
      ]
  
Fix migration file for new collection kind name
## Code Before:
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [("kolibriauth", "0015_facilitydataset_registered")]

    operations = [
        migrations.CreateModel(
            name="AdHocGroup",
            fields=[],
            options={"indexes": [], "proxy": True},
            bases=("kolibriauth.collection",),
        ),
        migrations.AlterField(
            model_name="collection",
            name="kind",
            field=models.CharField(
                choices=[
                    ("facility", "Facility"),
                    ("classroom", "Classroom"),
                    ("learnergroup", "Learner group"),
                    ("adhoclearnersgroup", "Individual learners group"),
                ],
                max_length=20,
            ),
        ),
    ]

## Instruction:
Fix migration file for new collection kind name
## Code After:
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [("kolibriauth", "0015_facilitydataset_registered")]

    operations = [
        migrations.CreateModel(
            name="AdHocGroup",
            fields=[],
            options={"indexes": [], "proxy": True},
            bases=("kolibriauth.collection",),
        ),
        migrations.AlterField(
            model_name="collection",
            name="kind",
            field=models.CharField(
                choices=[
                    ("facility", "Facility"),
                    ("classroom", "Classroom"),
                    ("learnergroup", "Learner group"),
                    ("adhoclearnersgroup', 'Ad hoc learners group"),
                ],
                max_length=20,
            ),
        ),
    ]
