text: # Generated by Django 2.2.24 on 2021-11-10 03:07
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('delivery_user_profile', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Category',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=255)),
                  ('description', models.TextField()),
                  ('image', models.URLField()),
                  ('icon', models.URLField()),
              ],
          ),
          migrations.CreateModel(
              name='Country',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=255)),
                  ('description', models.TextField()),
                  ('prefix', models.CharField(max_length=8)),
                  ('flag', models.URLField()),
              ],
          ),
          migrations.CreateModel(
              name='Item',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=255)),
                  ('description', models.TextField()),
                  ('image', models.URLField()),
                  ('category', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='item_category', to='menu.Category')),
              ],
          ),
          migrations.CreateModel(
              name='Review',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('rating', models.FloatField()),
                  ('review_text', models.TextField()),
                  ('timestamp_created', models.DateTimeField(auto_now_add=True)),
                  ('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='review_item', to='menu.Item')),
                  ('profile', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='review_profile', to='delivery_user_profile.Profile')),
              ],
          ),
          migrations.CreateModel(
              name='ItemVariant',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=255)),
                  ('description', models.TextField()),
                  ('price', models.FloatField()),
                  ('image', models.URLField()),
                  ('country', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='itemvariant_country', to='menu.Country')),
                  ('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='itemvariant_item', to='menu.Item')),
              ],
          ),
      ]
  