text: import django.db.models.deletion
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
      initial = True
  
      dependencies = []
  
      operations = [
          migrations.CreateModel(
              name="Answer",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  ("text", models.TextField()),
              ],
          ),
          migrations.CreateModel(
              name="Person",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  ("name", models.CharField(max_length=255)),
              ],
          ),
          migrations.CreateModel(
              name="Party",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  ("title", models.CharField(max_length=255)),
                  (
                      "host",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name="hosted_parties",
                          to="test_app.Person",
                      ),
                  ),
              ],
          ),
          migrations.CreateModel(
              name="Invite",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  ("text", models.TextField()),
                  (
                      "party",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name="invites",
                          to="test_app.Party",
                      ),
                  ),
                  (
                      "recipient",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name="received_invites",
                          to="test_app.Person",
                      ),
                  ),
                  (
                      "sender",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name="sent_invites",
                          to="test_app.Person",
                      ),
                  ),
              ],
          ),
          migrations.CreateModel(
              name="Details",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  ("reviewed", models.BooleanField(default=False)),
                  (
                      "answer",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name="details",
                          to="test_app.Answer",
                      ),
                  ),
                  (
                      "reviewer",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name="reviewed_details",
                          to="test_app.Person",
                      ),
                  ),
              ],
          ),
          migrations.AddField(
              model_name="answer",
              name="invite",
              field=models.OneToOneField(
                  on_delete=django.db.models.deletion.CASCADE,
                  related_name="answer",
                  to="test_app.Invite",
              ),
          ),
      ]
  