text: # Generated by Django 3.1.7 on 2021-03-27 07:02
  
  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),
      ]
  
      operations = [
          migrations.CreateModel(
              name='QuestionType',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=100, verbose_name='Type Name')),
                  ('text', models.TextField(max_length=350, verbose_name='Question Text')),
                  ('date_updated', models.DateTimeField(auto_now=True)),
              ],
          ),
          migrations.CreateModel(
              name='Question',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('date_asked', models.DateTimeField(auto_now=True)),
                  ('qtype', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.questiontype')),
              ],
          ),
          migrations.CreateModel(
              name='Answer',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('answer', models.CharField(choices=[('NO', 'No'), ('YS', 'Yes')], max_length=2, verbose_name='Answer')),
                  ('answer_date', models.DateTimeField(auto_now=True, verbose_name='Answer Date')),
                  ('question', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.question')),
                  ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
      ]
  