text: # Generated by Django 3.0.4 on 2020-04-14 13:51
  
  import datetime
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  from django.utils.timezone import utc
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Post',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=50)),
                  ('test', models.TextField()),
                  ('create_date', models.DateTimeField(default=datetime.datetime(2020, 4, 14, 13, 51, 43, 867919, tzinfo=utc))),
                  ('published_date', models.DateTimeField(blank=True, null=True)),
                  ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='Comment',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('author', models.CharField(max_length=50)),
                  ('text', models.TextField()),
                  ('approved_commment', models.BooleanField(default=False)),
                  ('post', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to='blog.Post')),
              ],
          ),
      ]
  