# Generated by Django 5.0.6 on 2025-12-19 03:39

import datetime
import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

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

    operations = [
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('icon', models.FileField(upload_to='category/icon')),
                ('category_name', models.CharField(blank=True, max_length=50, null=True)),
            ],
        ),
       migrations.AddField(
        model_name='product',
        name='category',
        field=models.ForeignKey(
            null=True,
            blank=True,
            default=None,
            on_delete=django.db.models.deletion.CASCADE,
            to='ecommerce.category',
        ),
        preserve_default=False,
    ),
    ]
