# Generated by Django 3.1.13 on 2021-11-22 08:28

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='SourceReview',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(blank=True, max_length=100, null=True)),
                ('logo', models.CharField(blank=True, max_length=255, null=True)),
                ('domain', models.CharField(blank=True, max_length=255, null=True)),
                ('business_url', models.CharField(blank=True, max_length=255, null=True)),
                ('is_top', models.BooleanField(default=False)),
            ],
            options={
                'verbose_name_plural': 'Source Reivew',
            },
        ),
        migrations.CreateModel(
            name='Platform',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('url_platform', models.CharField(max_length=255)),
                ('rating', models.FloatField(blank=True, null=True)),
                ('reviews_count', models.IntegerField(blank=True, null=True)),
                ('status', models.CharField(choices=[('deative', 'Deactive'), ('active', 'Active')], max_length=50)),
                ('source_review', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='reviews.sourcereview')),
            ],
            options={
                'verbose_name_plural': 'Platforms',
            },
        ),
    ]
