# Generated by Django 3.1.7 on 2021-03-24 17:41

import django.db.models.deletion
from django.conf import settings
from django.db import migrations
from django.db import models


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ("blog", "0002_auto_20210323_1834"),
    ]

    operations = [
        migrations.AddField(
            model_name="post",
            name="author",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                to=settings.AUTH_USER_MODEL,
            ),
        ),
    ]

[(12, 'django.db.migrations.swappable_dependency', 'migrations.swappable_dependency', False, 'from django.db import migrations\n'), (20, 'django.db.models.ForeignKey', 'models.ForeignKey', False, 'from django.db import models\n')]