# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2019-03-31 09:09
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import tinymce.models


class Migration(migrations.Migration):

    dependencies = [
        ('products', '0009_auto_20190329_1404'),
    ]

    operations = [
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('category', models.CharField(max_length=40)),
            ],
            options={
                'ordering': ['category'],
            },
        ),
        migrations.CreateModel(
            name='Image',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=40, null=True)),
                ('image', models.ImageField(upload_to='images')),
            ],
            options={
                'ordering': ['name'],
            },
        ),
        migrations.CreateModel(
            name='Stock',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('amount', models.PositiveIntegerField()),
            ],
        ),
        migrations.AlterModelOptions(
            name='product',
            options={'ordering': ['name']},
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_2',
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_3',
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_4',
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_5',
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_6',
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_main',
        ),
        migrations.RemoveField(
            model_name='product',
            name='stock',
        ),
        migrations.AddField(
            model_name='product',
            name='created',
            field=models.DateTimeField(default=django.utils.timezone.now),
        ),
        migrations.RemoveField(
            model_name='product',
            name='category',
        ),
        migrations.AlterField(
            model_name='product',
            name='description',
            field=tinymce.models.HTMLField(),
        ),
        migrations.DeleteModel(
            name='Categories',
        ),
        migrations.AddField(
            model_name='stock',
            name='product',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='products.Product'),
        ),
        migrations.AddField(
            model_name='image',
            name='product',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='products.Product'),
        ),
        migrations.AddField(
            model_name='product',
            name='category',
            field=models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, to='products.Category'),
        ),
    ]

a3631ddeb06de58b90c7199363a5ebf9a9979870
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    dependencies = [('products', '0009_auto_20190329_1404')]
    operations = [migrations.CreateModel(name='Category', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('category', models.CharField(
        max_length=40))], options={'ordering': ['category']}), migrations.
        CreateModel(name='Image', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('name', models.CharField(max_length=40, null=True)), (
        'image', models.ImageField(upload_to='images'))], options={
        'ordering': ['name']}), migrations.CreateModel(name='Stock', fields
        =[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('amount', models.
        PositiveIntegerField())]), migrations.AlterModelOptions(name=
        'product', options={'ordering': ['name']}), migrations.RemoveField(
        model_name='product', name='image_2'), migrations.RemoveField(
        model_name='product', name='image_3'), migrations.RemoveField(
        model_name='product', name='image_4'), migrations.RemoveField(
        model_name='product', name='image_5'), migrations.RemoveField(
        model_name='product', name='image_6'), migrations.RemoveField(
        model_name='product', name='image_main'), migrations.RemoveField(
        model_name='product', name='stock'), migrations.AddField(model_name
        ='product', name='created', field=models.DateTimeField(default=
        django.utils.timezone.now)), migrations.RemoveField(model_name=
        'product', name='category'), migrations.AlterField(model_name=
        'product', name='description', field=tinymce.models.HTMLField()),
        migrations.DeleteModel(name='Categories'), migrations.AddField(
        model_name='stock', name='product', field=models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to='products.Product')
        ), migrations.AddField(model_name='image', name='product', field=
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'products.Product')), migrations.AddField(model_name='product',
        name='category', field=models.ForeignKey(default='', on_delete=
        django.db.models.deletion.CASCADE, to='products.Category'))]

from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import tinymce.models


class Migration(migrations.Migration):
    dependencies = [('products', '0009_auto_20190329_1404')]
    operations = [migrations.CreateModel(name='Category', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('category', models.CharField(
        max_length=40))], options={'ordering': ['category']}), migrations.
        CreateModel(name='Image', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('name', models.CharField(max_length=40, null=True)), (
        'image', models.ImageField(upload_to='images'))], options={
        'ordering': ['name']}), migrations.CreateModel(name='Stock', fields
        =[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('amount', models.
        PositiveIntegerField())]), migrations.AlterModelOptions(name=
        'product', options={'ordering': ['name']}), migrations.RemoveField(
        model_name='product', name='image_2'), migrations.RemoveField(
        model_name='product', name='image_3'), migrations.RemoveField(
        model_name='product', name='image_4'), migrations.RemoveField(
        model_name='product', name='image_5'), migrations.RemoveField(
        model_name='product', name='image_6'), migrations.RemoveField(
        model_name='product', name='image_main'), migrations.RemoveField(
        model_name='product', name='stock'), migrations.AddField(model_name
        ='product', name='created', field=models.DateTimeField(default=
        django.utils.timezone.now)), migrations.RemoveField(model_name=
        'product', name='category'), migrations.AlterField(model_name=
        'product', name='description', field=tinymce.models.HTMLField()),
        migrations.DeleteModel(name='Categories'), migrations.AddField(
        model_name='stock', name='product', field=models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to='products.Product')
        ), migrations.AddField(model_name='image', name='product', field=
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'products.Product')), migrations.AddField(model_name='product',
        name='category', field=models.ForeignKey(default='', on_delete=
        django.db.models.deletion.CASCADE, to='products.Category'))]

# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2019-03-31 09:09
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import tinymce.models


class Migration(migrations.Migration):

    dependencies = [
        ('products', '0009_auto_20190329_1404'),
    ]

    operations = [
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('category', models.CharField(max_length=40)),
            ],
            options={
                'ordering': ['category'],
            },
        ),
        migrations.CreateModel(
            name='Image',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=40, null=True)),
                ('image', models.ImageField(upload_to='images')),
            ],
            options={
                'ordering': ['name'],
            },
        ),
        migrations.CreateModel(
            name='Stock',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('amount', models.PositiveIntegerField()),
            ],
        ),
        migrations.AlterModelOptions(
            name='product',
            options={'ordering': ['name']},
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_2',
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_3',
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_4',
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_5',
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_6',
        ),
        migrations.RemoveField(
            model_name='product',
            name='image_main',
        ),
        migrations.RemoveField(
            model_name='product',
            name='stock',
        ),
        migrations.AddField(
            model_name='product',
            name='created',
            field=models.DateTimeField(default=django.utils.timezone.now),
        ),
        migrations.RemoveField(
            model_name='product',
            name='category',
        ),
        migrations.AlterField(
            model_name='product',
            name='description',
            field=tinymce.models.HTMLField(),
        ),
        migrations.DeleteModel(
            name='Categories',
        ),
        migrations.AddField(
            model_name='stock',
            name='product',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='products.Product'),
        ),
        migrations.AddField(
            model_name='image',
            name='product',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='products.Product'),
        ),
        migrations.AddField(
            model_name='product',
            name='category',
            field=models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, to='products.Category'),
        ),
    ]
