text: # Generated by Django 2.2 on 2020-10-04 11:03
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('website', '0003_auto_20201004_1631'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Product',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=100)),
                  ('desc', models.CharField(max_length=256)),
                  ('price', models.FloatField(default=0.0)),
                  ('seller', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='Review',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('review', models.TextField(verbose_name='review')),
                  ('rating', models.IntegerField(choices=[(1, 1), (2, 2), (3, 3), (4, 4), (5, 5)])),
                  ('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='website.Product')),
                  ('reviewer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.DeleteModel(
              name='Category',
          ),
      ]
  