text: # Generated by Django 3.2.7 on 2021-10-12 00:00
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  import django.utils.timezone
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('products', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='BuyerPurchase',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('is_active', models.BooleanField(default=True)),
                  ('is_deleted', models.BooleanField(default=False)),
                  ('created_date', models.DateTimeField(default=django.utils.timezone.now)),
                  ('modified_date', models.DateTimeField(default=django.utils.timezone.now)),
                  ('purchase_price', models.FloatField(blank=True, default=0.0, null=True)),
                  ('buyer_id', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                  ('product_id', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='products.product')),
              ],
              options={
                  'abstract': False,
              },
          ),
      ]
  