# Generated by Django 2.2 on 2019-07-14 10:36

import django.db.models.deletion

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


class Migration(migrations.Migration):
    initial = True

    dependencies = [
        ("collection", "0001_initial"),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ("core", "0001_initial"),
    ]

    operations = [
        migrations.AddField(
            model_name="collectionrule",
            name="category",
            field=models.ForeignKey(
                blank=True,
                help_text="Posts from this rule will be tagged with this category",
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                to="core.Category",
                verbose_name="Category",
            ),
        ),
        migrations.AddField(
            model_name="collectionrule",
            name="user",
            field=models.ForeignKey(
                on_delete=models.CASCADE, to=settings.AUTH_USER_MODEL
            ),
        ),
    ]
