# Generated by Django 3.1.7 on 2021-02-26 16:02

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


class Migration(migrations.Migration):

    dependencies = [
        ('backoffice', '0009_auto_20210226_0021'),
    ]

    operations = [
        migrations.CreateModel(
            name='ProductType',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created', django_extensions.db.fields.CreationDateTimeField(auto_now_add=True, verbose_name='created')),
                ('modified', django_extensions.db.fields.ModificationDateTimeField(auto_now=True, verbose_name='modified')),
                ('name', models.CharField(max_length=250, verbose_name='Type de produit')),
            ],
            options={
                'get_latest_by': 'modified',
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='product',
            name='product_type',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='backoffice.producttype'),
        ),
    ]

8fdbf2cd213a96cc779619e0100b31fb30281a8a
<mask token>

<mask token>


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

<mask token>


class Migration(migrations.Migration):
    dependencies = [('backoffice', '0009_auto_20210226_0021')]
    operations = [migrations.CreateModel(name='ProductType', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('created', django_extensions.db.fields
        .CreationDateTimeField(auto_now_add=True, verbose_name='created')),
        ('modified', django_extensions.db.fields.ModificationDateTimeField(
        auto_now=True, verbose_name='modified')), ('name', models.CharField
        (max_length=250, verbose_name='Type de produit'))], options={
        'get_latest_by': 'modified', 'abstract': False}), migrations.
        AddField(model_name='product', name='product_type', field=models.
        ForeignKey(blank=True, null=True, on_delete=django.db.models.
        deletion.DO_NOTHING, to='backoffice.producttype'))]

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


class Migration(migrations.Migration):
    dependencies = [('backoffice', '0009_auto_20210226_0021')]
    operations = [migrations.CreateModel(name='ProductType', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('created', django_extensions.db.fields
        .CreationDateTimeField(auto_now_add=True, verbose_name='created')),
        ('modified', django_extensions.db.fields.ModificationDateTimeField(
        auto_now=True, verbose_name='modified')), ('name', models.CharField
        (max_length=250, verbose_name='Type de produit'))], options={
        'get_latest_by': 'modified', 'abstract': False}), migrations.
        AddField(model_name='product', name='product_type', field=models.
        ForeignKey(blank=True, null=True, on_delete=django.db.models.
        deletion.DO_NOTHING, to='backoffice.producttype'))]

# Generated by Django 3.1.7 on 2021-02-26 16:02

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


class Migration(migrations.Migration):

    dependencies = [
        ('backoffice', '0009_auto_20210226_0021'),
    ]

    operations = [
        migrations.CreateModel(
            name='ProductType',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created', django_extensions.db.fields.CreationDateTimeField(auto_now_add=True, verbose_name='created')),
                ('modified', django_extensions.db.fields.ModificationDateTimeField(auto_now=True, verbose_name='modified')),
                ('name', models.CharField(max_length=250, verbose_name='Type de produit')),
            ],
            options={
                'get_latest_by': 'modified',
                'abstract': False,
            },
        ),
        migrations.AddField(
            model_name='product',
            name='product_type',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='backoffice.producttype'),
        ),
    ]
