# Generated by Django 3.2.8 on 2021-10-14 14:33

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Brand',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
            ],
        ),
        migrations.CreateModel(
            name='Product',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('sku', models.CharField(max_length=200)),
                ('name', models.CharField(max_length=300)),
                ('price', models.FloatField()),
                ('queries', models.IntegerField(default=0)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('created_by', models.ForeignKey(on_delete=django.db.models.deletion.RESTRICT, related_name='products', to=settings.AUTH_USER_MODEL)),
                ('id_brand', models.ForeignKey(on_delete=django.db.models.deletion.RESTRICT, related_name='brands', to='products.brand')),
            ],
        ),
    ]

3280b0a28067aa28e431ce16b6d64660e4af2f56
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Brand', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('name', models.CharField(max_length=
        200))]), migrations.CreateModel(name='Product', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('sku', models.CharField(max_length=200
        )), ('name', models.CharField(max_length=300)), ('price', models.
        FloatField()), ('queries', models.IntegerField(default=0)), (
        'created_at', models.DateTimeField(auto_now_add=True)), (
        'created_by', models.ForeignKey(on_delete=django.db.models.deletion
        .RESTRICT, related_name='products', to=settings.AUTH_USER_MODEL)),
        ('id_brand', models.ForeignKey(on_delete=django.db.models.deletion.
        RESTRICT, related_name='brands', to='products.brand'))])]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = [migrations.swappable_dependency(settings.AUTH_USER_MODEL)]
    operations = [migrations.CreateModel(name='Brand', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('name', models.CharField(max_length=
        200))]), migrations.CreateModel(name='Product', fields=[('id',
        models.BigAutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('sku', models.CharField(max_length=200
        )), ('name', models.CharField(max_length=300)), ('price', models.
        FloatField()), ('queries', models.IntegerField(default=0)), (
        'created_at', models.DateTimeField(auto_now_add=True)), (
        'created_by', models.ForeignKey(on_delete=django.db.models.deletion
        .RESTRICT, related_name='products', to=settings.AUTH_USER_MODEL)),
        ('id_brand', models.ForeignKey(on_delete=django.db.models.deletion.
        RESTRICT, related_name='brands', to='products.brand'))])]

# Generated by Django 3.2.8 on 2021-10-14 14:33

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Brand',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
            ],
        ),
        migrations.CreateModel(
            name='Product',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('sku', models.CharField(max_length=200)),
                ('name', models.CharField(max_length=300)),
                ('price', models.FloatField()),
                ('queries', models.IntegerField(default=0)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('created_by', models.ForeignKey(on_delete=django.db.models.deletion.RESTRICT, related_name='products', to=settings.AUTH_USER_MODEL)),
                ('id_brand', models.ForeignKey(on_delete=django.db.models.deletion.RESTRICT, related_name='brands', to='products.brand')),
            ],
        ),
    ]
