text: # Generated by Django 3.1.7 on 2021-03-08 15:02
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ("barriers", "0102_create_blank_public_barriers"),
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ("interactions", "0011_fix_blank_and_null"),
      ]
  
      operations = [
          migrations.CreateModel(
              name="Mention",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  (
                      "created_on",
                      models.DateTimeField(auto_now_add=True, db_index=True, null=True),
                  ),
                  ("modified_on", models.DateTimeField(auto_now=True, null=True)),
                  (
                      "barrier",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name="mention",
                          to="barriers.barrier",
                      ),
                  ),
                  (
                      "created_by",
                      models.ForeignKey(
                          blank=True,
                          null=True,
                          on_delete=django.db.models.deletion.SET_NULL,
                          related_name="+",
                          to=settings.AUTH_USER_MODEL,
                      ),
                  ),
                  (
                      "modified_by",
                      models.ForeignKey(
                          blank=True,
                          null=True,
                          on_delete=django.db.models.deletion.SET_NULL,
                          related_name="+",
                          to=settings.AUTH_USER_MODEL,
                      ),
                  ),
                  (
                      "recipient",
                      models.ForeignKey(
                          blank=True,
                          null=True,
                          on_delete=django.db.models.deletion.SET_NULL,
                          related_name="+",
                          to=settings.AUTH_USER_MODEL,
                      ),
                  ),
              ],
              options={
                  "abstract": False,
              },
          ),
      ]
  