# Generated by Django 3.1.1 on 2021-03-24 10:52

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('blog', '0002_auto_20210323_1139'),
    ]

    operations = [
        migrations.AddField(
            model_name='blog',
            name='blog_content',
            field=models.TextField(default=None),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='blog',
            name='created_date',
            field=models.DateTimeField(default=django.utils.timezone.now),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='blog',
            name='like',
            field=models.PositiveIntegerField(default=0),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='blog',
            name='user_blog',
            field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='auth.user'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='blog_user',
            name='date_joined',
            field=models.DateField(auto_now=True),
        ),
        migrations.CreateModel(
            name='Comment',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('comment_content', models.TextField()),
                ('on_blog', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='blog.blog')),
                ('user_comment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]

8176fdb24d162f1397d522e93cbf2061b4c201b5
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    dependencies = [migrations.swappable_dependency(settings.
        AUTH_USER_MODEL), ('blog', '0002_auto_20210323_1139')]
    operations = [migrations.AddField(model_name='blog', name=
        'blog_content', field=models.TextField(default=None),
        preserve_default=False), migrations.AddField(model_name='blog',
        name='created_date', field=models.DateTimeField(default=django.
        utils.timezone.now), preserve_default=False), migrations.AddField(
        model_name='blog', name='like', field=models.PositiveIntegerField(
        default=0), preserve_default=False), migrations.AddField(model_name
        ='blog', name='user_blog', field=models.ForeignKey(default=None,
        on_delete=django.db.models.deletion.CASCADE, to='auth.user'),
        preserve_default=False), migrations.AddField(model_name='blog_user',
        name='date_joined', field=models.DateField(auto_now=True)),
        migrations.CreateModel(name='Comment', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('comment_content', models.TextField()), (
        'on_blog', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, to='blog.blog')), ('user_comment', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to=settings.
        AUTH_USER_MODEL))])]

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone


class Migration(migrations.Migration):
    dependencies = [migrations.swappable_dependency(settings.
        AUTH_USER_MODEL), ('blog', '0002_auto_20210323_1139')]
    operations = [migrations.AddField(model_name='blog', name=
        'blog_content', field=models.TextField(default=None),
        preserve_default=False), migrations.AddField(model_name='blog',
        name='created_date', field=models.DateTimeField(default=django.
        utils.timezone.now), preserve_default=False), migrations.AddField(
        model_name='blog', name='like', field=models.PositiveIntegerField(
        default=0), preserve_default=False), migrations.AddField(model_name
        ='blog', name='user_blog', field=models.ForeignKey(default=None,
        on_delete=django.db.models.deletion.CASCADE, to='auth.user'),
        preserve_default=False), migrations.AddField(model_name='blog_user',
        name='date_joined', field=models.DateField(auto_now=True)),
        migrations.CreateModel(name='Comment', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('comment_content', models.TextField()), (
        'on_blog', models.ForeignKey(on_delete=django.db.models.deletion.
        CASCADE, to='blog.blog')), ('user_comment', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to=settings.
        AUTH_USER_MODEL))])]

# Generated by Django 3.1.1 on 2021-03-24 10:52

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('blog', '0002_auto_20210323_1139'),
    ]

    operations = [
        migrations.AddField(
            model_name='blog',
            name='blog_content',
            field=models.TextField(default=None),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='blog',
            name='created_date',
            field=models.DateTimeField(default=django.utils.timezone.now),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='blog',
            name='like',
            field=models.PositiveIntegerField(default=0),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='blog',
            name='user_blog',
            field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='auth.user'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='blog_user',
            name='date_joined',
            field=models.DateField(auto_now=True),
        ),
        migrations.CreateModel(
            name='Comment',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('comment_content', models.TextField()),
                ('on_blog', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='blog.blog')),
                ('user_comment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
