text: # -*- coding: utf-8 -*-
  # Generated by Django 1.10.3 on 2016-11-06 04:33
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('polls', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Group',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=128)),
              ],
          ),
          migrations.CreateModel(
              name='Membership',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('date_joined', models.DateField()),
                  ('invite_reason', models.CharField(max_length=64)),
                  ('group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='apps.polls.Group')),
              ],
          ),
          migrations.CreateModel(
              name='Person',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=128)),
              ],
          ),
          migrations.AddField(
              model_name='membership',
              name='person',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='apps.polls.Person'),
          ),
          migrations.AddField(
              model_name='group',
              name='members',
              field=models.ManyToManyField(through='apps.polls.Membership', to='apps.polls.Person'),
          ),
      ]
  