# Generated by Django 2.1 on 2019-09-08 09:44

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


class Migration(migrations.Migration):

    dependencies = [
        ('products', '0013_remove_product_in_basket'),
        ('orders', '0008_order_user'),
    ]

    operations = [
        migrations.CreateModel(
            name='ProductsInFavorites',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('session_key', models.CharField(blank=True, default=None, max_length=128, null=True)),
                ('is_active', models.BooleanField(default=True)),
                ('created', models.DateTimeField(auto_now_add=True)),
                ('updated', models.DateTimeField(auto_now=True)),
                ('order', models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='orders.Order')),
                ('product', models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='products.Product')),
            ],
            options={
                'verbose_name': 'Товар в избранном',
                'verbose_name_plural': 'Товары в избранном',
            },
        ),
    ]

fb391b4ccf2c6c34fce679092161660fb0c50771
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    dependencies = [('products', '0013_remove_product_in_basket'), (
        'orders', '0008_order_user')]
    operations = [migrations.CreateModel(name='ProductsInFavorites', fields
        =[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('session_key', models.
        CharField(blank=True, default=None, max_length=128, null=True)), (
        'is_active', models.BooleanField(default=True)), ('created', models
        .DateTimeField(auto_now_add=True)), ('updated', models.
        DateTimeField(auto_now=True)), ('order', models.ForeignKey(blank=
        True, default=None, null=True, on_delete=django.db.models.deletion.
        CASCADE, to='orders.Order')), ('product', models.ForeignKey(blank=
        True, default=None, null=True, on_delete=django.db.models.deletion.
        CASCADE, to='products.Product'))], options={'verbose_name':
        'Товар в избранном', 'verbose_name_plural': 'Товары в избранном'})]

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


class Migration(migrations.Migration):
    dependencies = [('products', '0013_remove_product_in_basket'), (
        'orders', '0008_order_user')]
    operations = [migrations.CreateModel(name='ProductsInFavorites', fields
        =[('id', models.AutoField(auto_created=True, primary_key=True,
        serialize=False, verbose_name='ID')), ('session_key', models.
        CharField(blank=True, default=None, max_length=128, null=True)), (
        'is_active', models.BooleanField(default=True)), ('created', models
        .DateTimeField(auto_now_add=True)), ('updated', models.
        DateTimeField(auto_now=True)), ('order', models.ForeignKey(blank=
        True, default=None, null=True, on_delete=django.db.models.deletion.
        CASCADE, to='orders.Order')), ('product', models.ForeignKey(blank=
        True, default=None, null=True, on_delete=django.db.models.deletion.
        CASCADE, to='products.Product'))], options={'verbose_name':
        'Товар в избранном', 'verbose_name_plural': 'Товары в избранном'})]

# Generated by Django 2.1 on 2019-09-08 09:44

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


class Migration(migrations.Migration):

    dependencies = [
        ('products', '0013_remove_product_in_basket'),
        ('orders', '0008_order_user'),
    ]

    operations = [
        migrations.CreateModel(
            name='ProductsInFavorites',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('session_key', models.CharField(blank=True, default=None, max_length=128, null=True)),
                ('is_active', models.BooleanField(default=True)),
                ('created', models.DateTimeField(auto_now_add=True)),
                ('updated', models.DateTimeField(auto_now=True)),
                ('order', models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='orders.Order')),
                ('product', models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='products.Product')),
            ],
            options={
                'verbose_name': 'Товар в избранном',
                'verbose_name_plural': 'Товары в избранном',
            },
        ),
    ]
