<reponame>Muhammet-Yildiz/Ecommerce_Website-HepsiOrada
# Generated by Django 3.1.4 on 2021-02-25 13:53

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


class Migration(migrations.Migration):

    dependencies = [
        ('Main', '0004_auto_20210225_1530'),
    ]

    operations = [
        migrations.CreateModel(
            name='ProductAttribute',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('price', models.PositiveIntegerField()),
                ('color', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.color')),
                ('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.product')),
                ('size', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.size')),
            ],
        ),
    ]

# Generated by Django 3.1.4 on 2021-02-25 13:53

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


class Migration(migrations.Migration):

    dependencies = [
        ('Main', '0004_auto_20210225_1530'),
    ]

    operations = [
        migrations.CreateModel(
            name='ProductAttribute',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('price', models.PositiveIntegerField()),
                ('color', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.color')),
                ('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.product')),
                ('size', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Main.size')),
            ],
        ),
    ]
# Generated by Django 3.1.4 on 2021-02-25 13:53