# Generated by Django 3.2.9 on 2021-11-11 05:28

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


class Migration(migrations.Migration):

    dependencies = [
        ('ecommerce_api', '0003_brand'),
    ]

    operations = [
        migrations.CreateModel(
            name='Product',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
                ('description', models.CharField(max_length=200)),
                ('price', models.FloatField()),
                ('stock', models.IntegerField()),
                ('image', models.ImageField(upload_to='products')),
                ('activated', models.BooleanField()),
                ('Category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ecommerce_api.category')),
                ('brand', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ecommerce_api.brand')),
            ],
        ),
    ]

b136dec572652b857ecd13629c3c367f06ca8454
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    dependencies = [('ecommerce_api', '0003_brand')]
    operations = [migrations.CreateModel(name='Product', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('name', models.CharField(max_length=
        200)), ('description', models.CharField(max_length=200)), ('price',
        models.FloatField()), ('stock', models.IntegerField()), ('image',
        models.ImageField(upload_to='products')), ('activated', models.
        BooleanField()), ('Category', models.ForeignKey(on_delete=django.db
        .models.deletion.CASCADE, to='ecommerce_api.category')), ('brand',
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'ecommerce_api.brand'))])]

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


class Migration(migrations.Migration):
    dependencies = [('ecommerce_api', '0003_brand')]
    operations = [migrations.CreateModel(name='Product', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('name', models.CharField(max_length=
        200)), ('description', models.CharField(max_length=200)), ('price',
        models.FloatField()), ('stock', models.IntegerField()), ('image',
        models.ImageField(upload_to='products')), ('activated', models.
        BooleanField()), ('Category', models.ForeignKey(on_delete=django.db
        .models.deletion.CASCADE, to='ecommerce_api.category')), ('brand',
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'ecommerce_api.brand'))])]

# Generated by Django 3.2.9 on 2021-11-11 05:28

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


class Migration(migrations.Migration):

    dependencies = [
        ('ecommerce_api', '0003_brand'),
    ]

    operations = [
        migrations.CreateModel(
            name='Product',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
                ('description', models.CharField(max_length=200)),
                ('price', models.FloatField()),
                ('stock', models.IntegerField()),
                ('image', models.ImageField(upload_to='products')),
                ('activated', models.BooleanField()),
                ('Category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ecommerce_api.category')),
                ('brand', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ecommerce_api.brand')),
            ],
        ),
    ]
