# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(primary_key=True, auto_created=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('description', models.CharField(max_length=100)),
                ('is_active', models.BooleanField(default=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'ordering': ['-created_at'],
                'db_table': 'categories',
            },
        ),
        migrations.CreateModel(
            name='Product',
            fields=[
                ('id', models.AutoField(primary_key=True, auto_created=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('description', models.TextField()),
                ('brand', models.CharField(max_length=50)),
                ('sku', models.CharField(max_length=50)),
                ('price', models.DecimalField(decimal_places=2, max_digits=9)),
                ('discount_price', models.DecimalField(decimal_places=2, max_digits=9)),
                ('quantity', models.IntegerField()),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('categories', models.ManyToManyField(to='catalog.Category')),
            ],
            options={
                'ordering': ['-created_at'],
                'db_table': 'products',
            },
        ),
    ]

8be0df4216a5444670c9ae25b12b270fafd91205
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    dependencies = []
    operations = [migrations.CreateModel(name='Category', fields=[('id',
        models.AutoField(primary_key=True, auto_created=True, serialize=
        False, verbose_name='ID')), ('name', models.CharField(max_length=50
        )), ('description', models.CharField(max_length=100)), ('is_active',
        models.BooleanField(default=True)), ('created_at', models.
        DateTimeField(auto_now_add=True)), ('updated_at', models.
        DateTimeField(auto_now=True))], options={'ordering': ['-created_at'
        ], 'db_table': 'categories'}), migrations.CreateModel(name=
        'Product', fields=[('id', models.AutoField(primary_key=True,
        auto_created=True, serialize=False, verbose_name='ID')), ('name',
        models.CharField(max_length=50)), ('description', models.TextField(
        )), ('brand', models.CharField(max_length=50)), ('sku', models.
        CharField(max_length=50)), ('price', models.DecimalField(
        decimal_places=2, max_digits=9)), ('discount_price', models.
        DecimalField(decimal_places=2, max_digits=9)), ('quantity', models.
        IntegerField()), ('created_at', models.DateTimeField(auto_now_add=
        True)), ('updated_at', models.DateTimeField(auto_now=True)), (
        'categories', models.ManyToManyField(to='catalog.Category'))],
        options={'ordering': ['-created_at'], 'db_table': 'products'})]

from __future__ import unicode_literals
from django.db import models, migrations


class Migration(migrations.Migration):
    dependencies = []
    operations = [migrations.CreateModel(name='Category', fields=[('id',
        models.AutoField(primary_key=True, auto_created=True, serialize=
        False, verbose_name='ID')), ('name', models.CharField(max_length=50
        )), ('description', models.CharField(max_length=100)), ('is_active',
        models.BooleanField(default=True)), ('created_at', models.
        DateTimeField(auto_now_add=True)), ('updated_at', models.
        DateTimeField(auto_now=True))], options={'ordering': ['-created_at'
        ], 'db_table': 'categories'}), migrations.CreateModel(name=
        'Product', fields=[('id', models.AutoField(primary_key=True,
        auto_created=True, serialize=False, verbose_name='ID')), ('name',
        models.CharField(max_length=50)), ('description', models.TextField(
        )), ('brand', models.CharField(max_length=50)), ('sku', models.
        CharField(max_length=50)), ('price', models.DecimalField(
        decimal_places=2, max_digits=9)), ('discount_price', models.
        DecimalField(decimal_places=2, max_digits=9)), ('quantity', models.
        IntegerField()), ('created_at', models.DateTimeField(auto_now_add=
        True)), ('updated_at', models.DateTimeField(auto_now=True)), (
        'categories', models.ManyToManyField(to='catalog.Category'))],
        options={'ordering': ['-created_at'], 'db_table': 'products'})]

# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(primary_key=True, auto_created=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('description', models.CharField(max_length=100)),
                ('is_active', models.BooleanField(default=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'ordering': ['-created_at'],
                'db_table': 'categories',
            },
        ),
        migrations.CreateModel(
            name='Product',
            fields=[
                ('id', models.AutoField(primary_key=True, auto_created=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('description', models.TextField()),
                ('brand', models.CharField(max_length=50)),
                ('sku', models.CharField(max_length=50)),
                ('price', models.DecimalField(decimal_places=2, max_digits=9)),
                ('discount_price', models.DecimalField(decimal_places=2, max_digits=9)),
                ('quantity', models.IntegerField()),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('categories', models.ManyToManyField(to='catalog.Category')),
            ],
            options={
                'ordering': ['-created_at'],
                'db_table': 'products',
            },
        ),
    ]
