text: # Generated by Django 3.0.3 on 2020-03-01 18:04
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Carrito',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
              ],
          ),
          migrations.CreateModel(
              name='Cliente',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('puntos', models.DecimalField(decimal_places=0, max_digits=10)),
                  ('nombre', models.CharField(max_length=200)),
                  ('cedula', models.CharField(max_length=200)),
              ],
          ),
          migrations.CreateModel(
              name='Producto',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('nombre', models.CharField(max_length=200)),
                  ('precio', models.DecimalField(decimal_places=4, max_digits=10)),
                  ('cantidad', models.DecimalField(decimal_places=0, default='0', max_digits=10)),
              ],
          ),
          migrations.CreateModel(
              name='Factura',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('costo', models.DecimalField(decimal_places=4, max_digits=10)),
                  ('carrito', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pos.Carrito')),
              ],
          ),
          migrations.CreateModel(
              name='CarritoProducto',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('carrito', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pos.Carrito')),
                  ('producto', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pos.Producto')),
              ],
          ),
          migrations.AddField(
              model_name='carrito',
              name='cliente',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pos.Cliente'),
          ),
      ]
  