# Generated by Django 2.2.24 on 2021-07-08 14:15
import functools

from django.db import migrations, models

import intranet.femida.src.attachments.models
import intranet.femida.src.utils.s3


class Migration(migrations.Migration):

    dependencies = [
        ('publications', '0006_remove_uuid_null'),
    ]

    operations = [
        migrations.AddField(
            model_name='publication',
            name='og_image',
            field=models.FileField(
                max_length=512,
                null=True,
                blank=True,
                storage=intranet.femida.src.utils.s3.S3Storage(),
                upload_to=functools.partial(
                    intranet.femida.src.attachments.models.upload_to,
                    *(),
                    **{'prefix': 'publications'}
                ),
            ),
        ),
    ]
