# Generated by Django 3.1.5 on 2021-01-24 14:07

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


class Migration(migrations.Migration):

    dependencies = [
        ("pictures", "0003_message_received_at"),
    ]

    operations = [
        migrations.AlterField(
            model_name="media",
            name="message",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="media_files",
                to="pictures.message",
            ),
        ),
        migrations.AlterField(
            model_name="message",
            name="sender",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.PROTECT,
                related_name="messages",
                to="pictures.contact",
            ),
        ),
    ]
