text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.7 on 2019-05-03 17:34
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('blog', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Comment',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('author', models.CharField(max_length=60)),
                  ('body', models.TextField()),
                  ('blog', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='commentblog', to='blog.BlogPost')),
                  ('comment', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='comments', to='blog.Comment')),
                  ('likes', models.ManyToManyField(blank=True, to=settings.AUTH_USER_MODEL)),
                  ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='commentuser', to=settings.AUTH_USER_MODEL)),
              ],
          ),
      ]
  