text: # Generated by Django 3.2.5 on 2021-07-26 06:02
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('byteshop', '0002_alter_product_id'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Cart',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('cart_id', models.CharField(blank=True, max_length=100)),
                  ('date_added', models.DateField(auto_now_add=True)),
              ],
          ),
          migrations.CreateModel(
              name='CartItem',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('quantity', models.IntegerField()),
                  ('is_active', models.BooleanField(default=True)),
                  ('cart', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='carts.cart')),
                  ('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='byteshop.product')),
              ],
          ),
      ]
  