# Generated by Django 2.0 on 2018-10-21 17:44

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', '0012_auto_20181019_2219'),
    ]

    operations = [
        migrations.CreateModel(
            name='CoverImage',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('uuid', models.CharField(default=uuid.UUID('8ad1e1db-be7b-4d9d-bfad-9c0e4ae12d3f'), max_length=64, unique=True)),
                ('uploaded_at', models.DateTimeField(auto_now_add=True)),
                ('created_at', models.DateField(default=datetime.datetime(2018, 10, 21, 17, 44, 3, 786382, tzinfo=utc))),
                ('cover_image', models.ImageField(upload_to=watermarking.models.random_cover_image_name, validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['jpg'], message="Please upload '.jpg' files only.")])),
            ],
        ),
        migrations.AlterField(
            model_name='watermarking',
            name='created_at',
            field=models.DateField(default=datetime.datetime(2018, 10, 21, 17, 44, 3, 785658, tzinfo=utc)),
        ),
    ]
