text: # Generated by Django 2.1.5 on 2019-03-19 17:18
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  import django.utils.timezone
  
  
  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=100)),
                  ('content', models.TextField()),
                  ('timestamp', models.DateTimeField(default=django.utils.timezone.localtime)),
              ],
          ),
          migrations.CreateModel(
              name='Comment',
              fields=[
                  ('post_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='board.Post')),
              ],
              bases=('board.post',),
          ),
          migrations.AddField(
              model_name='post',
              name='author',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
          ),
          migrations.AddField(
              model_name='comment',
              name='parent',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='parent_post', to='board.Post'),
          ),
      ]
  