text: # Generated by Django 3.1 on 2020-10-06 14:36
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  import django.utils.timezone
  import model_utils.fields
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ("boards", "0011_auto_20200517_1011"),
      ]
  
      operations = [
          migrations.CreateModel(
              name="Comment",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  (
                      "created",
                      model_utils.fields.AutoCreatedField(
                          default=django.utils.timezone.now,
                          editable=False,
                          verbose_name="created",
                      ),
                  ),
                  (
                      "modified",
                      model_utils.fields.AutoLastModifiedField(
                          default=django.utils.timezone.now,
                          editable=False,
                          verbose_name="modified",
                      ),
                  ),
                  ("text", models.TextField()),
                  (
                      "author",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.PROTECT,
                          related_name="comments",
                          to=settings.AUTH_USER_MODEL,
                      ),
                  ),
                  (
                      "task",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name="comments",
                          to="boards.task",
                      ),
                  ),
              ],
              options={"ordering": ["created"],},
          ),
      ]
  