# Generated by Django 3.0.2 on 2020-02-07 22:50

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('blog', '0001_initial'),
    ]

    operations = [
        migrations.RenameField(
            model_name='post',
            old_name='post',
            new_name='content',
        ),
        migrations.AddField(
            model_name='post',
            name='is_featured',
            field=models.BooleanField(default=False),
        ),
        migrations.AddConstraint(
            model_name='like',
            constraint=models.UniqueConstraint(fields=('user', 'comment'), name='unique like per comment'),
        ),
        migrations.AddConstraint(
            model_name='post',
            constraint=models.UniqueConstraint(condition=models.Q(is_featured=True), fields=('user',), name='unique featured post per user'),
        ),
    ]

c5d70a4286ac7ff11cf4c933e30f4859a9e8dfaf
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    dependencies = [('blog', '0001_initial')]
    operations = [migrations.RenameField(model_name='post', old_name='post',
        new_name='content'), migrations.AddField(model_name='post', name=
        'is_featured', field=models.BooleanField(default=False)),
        migrations.AddConstraint(model_name='like', constraint=models.
        UniqueConstraint(fields=('user', 'comment'), name=
        'unique like per comment')), migrations.AddConstraint(model_name=
        'post', constraint=models.UniqueConstraint(condition=models.Q(
        is_featured=True), fields=('user',), name=
        'unique featured post per user'))]

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [('blog', '0001_initial')]
    operations = [migrations.RenameField(model_name='post', old_name='post',
        new_name='content'), migrations.AddField(model_name='post', name=
        'is_featured', field=models.BooleanField(default=False)),
        migrations.AddConstraint(model_name='like', constraint=models.
        UniqueConstraint(fields=('user', 'comment'), name=
        'unique like per comment')), migrations.AddConstraint(model_name=
        'post', constraint=models.UniqueConstraint(condition=models.Q(
        is_featured=True), fields=('user',), name=
        'unique featured post per user'))]

# Generated by Django 3.0.2 on 2020-02-07 22:50

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('blog', '0001_initial'),
    ]

    operations = [
        migrations.RenameField(
            model_name='post',
            old_name='post',
            new_name='content',
        ),
        migrations.AddField(
            model_name='post',
            name='is_featured',
            field=models.BooleanField(default=False),
        ),
        migrations.AddConstraint(
            model_name='like',
            constraint=models.UniqueConstraint(fields=('user', 'comment'), name='unique like per comment'),
        ),
        migrations.AddConstraint(
            model_name='post',
            constraint=models.UniqueConstraint(condition=models.Q(is_featured=True), fields=('user',), name='unique featured post per user'),
        ),
    ]
