# Generated by Django 2.1.4 on 2018-12-13 14:43

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


class Migration(migrations.Migration):

    dependencies = [("identities", "0007_auto_20170713_1704")]

    operations = [
        migrations.AlterField(
            model_name="identity",
            name="communicate_through",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="identities_communicate_through",
                to="identities.Identity",
            ),
        ),
        migrations.AlterField(
            model_name="identity",
            name="created_by",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="identities_created",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="identity",
            name="failed_message_count",
            field=models.IntegerField(
                blank=True,
                default=0,
                help_text="Count of consecutive failed messages to user",
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="identity",
            name="operator",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="identities_created_by",
                to="identities.Identity",
            ),
        ),
        migrations.AlterField(
            model_name="identity",
            name="updated_by",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="identities_updated",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="optin",
            name="created_by",
            field=models.ForeignKey(
                help_text="User creating the OptIn",
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="optin_created",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="optin",
            name="identity",
            field=models.ForeignKey(
                help_text="UUID for the identity opting in.",
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                to="identities.Identity",
            ),
        ),
        migrations.AlterField(
            model_name="optout",
            name="created_by",
            field=models.ForeignKey(
                help_text="User creating the OptOut",
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="optout_created",
                to=settings.AUTH_USER_MODEL,
            ),
        ),
        migrations.AlterField(
            model_name="optout",
            name="identity",
            field=models.ForeignKey(
                help_text="UUID for the identity opting out.",
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                to="identities.Identity",
            ),
        ),
    ]
