<filename>src/users/migrations/0003_profile_photo_moved.py
# Generated by Django 3.1.5 on 2021-04-20 15:52

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('users', '0002_profile_photo'),
    ]

    operations = [
        migrations.AlterField(
            model_name='profile',
            name='photo',
            field=models.ImageField(null=True, storage=django_minio_backend.models.MinioBackend(bucket_name='avatars'), upload_to=django_minio_backend.models.iso_date_prefix),
        ),
        migrations.AlterField(
            model_name='profile',
            name='user',
            field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='profile', to=settings.AUTH_USER_MODEL),
        ),
        migrations.DeleteModel(
            name='ProfilePhoto',
        ),
    ]
