text: # Generated by Django 3.0.5 on 2020-04-18 15:23
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('interactions', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Choice',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('updated_on', models.DateTimeField(auto_now=True)),
                  ('created_on', models.DateTimeField(auto_now_add=True)),
                  ('choice_text', models.CharField(max_length=200)),
              ],
              options={
                  'verbose_name': 'Choice',
                  'verbose_name_plural': 'Choices',
              },
          ),
          migrations.CreateModel(
              name='Question',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('updated_on', models.DateTimeField(auto_now=True)),
                  ('created_on', models.DateTimeField(auto_now_add=True)),
                  ('question_text', models.CharField(max_length=200)),
                  ('pub_date', models.DateTimeField(verbose_name='date published')),
                  ('asked_by', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='questions', to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'verbose_name': 'Question',
                  'verbose_name_plural': 'Questions',
              },
          ),
          migrations.CreateModel(
              name='ChoiceVote',
              fields=[
                  ('vote_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='interactions.Vote')),
                  ('choice', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='votes', to='polls.Choice')),
              ],
              options={
                  'abstract': False,
              },
              bases=('interactions.vote',),
          ),
          migrations.AddField(
              model_name='choice',
              name='question',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='choices', to='polls.Question'),
          ),
      ]
  