# Generated by Django 3.2.4 on 2021-07-02 18:20

import django.contrib.postgres.fields
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('parsers', '0005_auto_20210702_2217'),
    ]

    operations = [
        migrations.CreateModel(
            name='Product',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255, verbose_name='Наименование')),
                ('keywords', django.contrib.postgres.fields.ArrayField(base_field=models.CharField(max_length=255, verbose_name='Ключевые слова'), blank=True, null=True, size=None)),
            ],
        ),
        migrations.AddField(
            model_name='offer',
            name='product',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='parsers.product', verbose_name='Товар'),
        ),
    ]
