# Generated by Django 4.2.2 on 2023-07-02 15:54

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('store', '0019_globalsettings_pickup_address_alter_checklist_size'),
    ]

    operations = [
        migrations.CreateModel(
            name='Image',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('image', models.ImageField(upload_to='checklist_images')),
                ('is_preview', models.BooleanField(default=False)),
            ],
        ),
        migrations.RemoveField(
            model_name='checklist',
            name='image',
        ),
        migrations.RemoveField(
            model_name='checklist',
            name='preview_image',
        ),
        migrations.AddField(
            model_name='checklist',
            name='images',
            field=models.ManyToManyField(blank=True, to='store.image', verbose_name='Картинки'),
        ),
    ]
