text: # Generated by Django 3.1.4 on 2021-11-01 12:39
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('cart', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Order',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('address', models.CharField(max_length=255)),
                  ('mobile', models.CharField(max_length=16)),
                  ('email', models.CharField(max_length=200)),
                  ('total', models.PositiveIntegerField()),
                  ('discount', models.PositiveIntegerField()),
                  ('order_status', models.CharField(choices=[('Order Received', 'Order Received'), ('Order Processing', 'Order Processing'), ('On the way', 'On the way'), ('Order Completed', 'Order Completed'), ('Order Canceled', 'Order Canceled')], default='Order Received', max_length=100)),
                  ('date', models.DateField(auto_now_add=True)),
                  ('payment_complete', models.BooleanField(blank=True, default=False, null=True)),
                  ('cart', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='cart.cart')),
              ],
          ),
      ]
  