# Generated by Django 2.0 on 2018-10-21 18:43

import datetime
import django.core.validators
from django.db import migrations, models
from django.utils.timezone import utc
import uuid
import watermarking.models


class Migration(migrations.Migration):

    dependencies = [
        ('watermarking', '0014_auto_20181021_1352'),
    ]

    operations = [
        migrations.CreateModel(
            name='WatermarkImage',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('uuid', models.CharField(default=uuid.UUID('ea5aa5af-31c9-4731-8aaa-cef42a5e5a47'), max_length=64, unique=True)),
                ('uploaded_at', models.DateTimeField(auto_now_add=True)),
                ('watermark_image', models.ImageField(upload_to=watermarking.models.random_watermark_image_name, validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['png'], message="Please upload '.png' files only.")])),
            ],
        ),
        migrations.AlterField(
            model_name='coverimage',
            name='uuid',
            field=models.CharField(default=uuid.UUID('d27cd9bf-9f77-49f4-9be4-b08d4269f5e3'), max_length=64, unique=True),
        ),
        migrations.AlterField(
            model_name='watermarking',
            name='created_at',
            field=models.DateField(default=datetime.datetime(2018, 10, 21, 18, 43, 6, 732888, tzinfo=utc)),
        ),
    ]
