# Generated by Django 4.2.11 on 2025-03-17 17:33

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('shop', '0002_rename_color_productcolor_rename_size_productsize_and_more'),
    ]

    operations = [
        migrations.RenameModel(
            old_name='ProductColor',
            new_name='Color',
        ),
        migrations.RenameModel(
            old_name='ProductSize',
            new_name='Size',
        ),
        migrations.RemoveField(
            model_name='product',
            name='product_colors',
        ),
        migrations.RemoveField(
            model_name='product',
            name='product_sizes',
        ),
        migrations.AddField(
            model_name='product',
            name='colors',
            field=models.ManyToManyField(blank=True, related_name='products', to='shop.color'),
        ),
        migrations.AddField(
            model_name='product',
            name='sizes',
            field=models.ManyToManyField(blank=True, related_name='products', to='shop.size'),
        ),
    ]
