# Generated by Django 3.1.13 on 2021-11-16 03:00

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('companies', '0002_review'),
    ]

    operations = [
        migrations.CreateModel(
            name='Widget',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('widget_id', models.UUIDField(default=uuid.uuid4, editable=False, unique=True)),
                ('layout_id', models.IntegerField(blank=True, null=True)),
                ('set_id', models.IntegerField(blank=True, null=True)),
                ('more_style', models.CharField(blank=True, max_length=45, null=True)),
                ('domains', models.JSONField(blank=True, null=True)),
                ('analytics', models.JSONField(blank=True, null=True)),
                ('company_id', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='companies.company')),
                ('reviews', models.ManyToManyField(related_name='group_reviews_widgets', to='companies.Review')),
            ],
            options={
                'verbose_name_plural': 'Widgets',
            },
        ),
    ]
