# Generated by Django 3.2.2 on 2021-05-15 09:50

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


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Thumbnail',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255, verbose_name='name')),
                ('image', models.ImageField(upload_to=core.models.thumbnail_file_path, verbose_name='image file')),
                ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='thumbnails', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name': 'thumnail',
                'verbose_name_plural': 'thumnails',
                'ordering': ('name',),
            },
        ),
    ]
