# Generated by Django 5.0.10 on 2025-12-23 20:38 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('customers', '0001_initial'), ('orders', '0001_initial'), ] operations = [ migrations.AddField( model_name='wallettransaction', name='order', field=models.ForeignKey(blank=True, help_text='Заказ, к которому относится транзакция (если применимо)', null=True, on_delete=django.db.models.deletion.PROTECT, to='orders.order', verbose_name='Заказ'), ), migrations.AddIndex( model_name='wallettransaction', index=models.Index(fields=['customer', '-created_at'], name='customers_w_custome_572f05_idx'), ), migrations.AddIndex( model_name='wallettransaction', index=models.Index(fields=['transaction_type'], name='customers_w_transac_5fda02_idx'), ), migrations.AddIndex( model_name='wallettransaction', index=models.Index(fields=['order'], name='customers_w_order_i_5e2527_idx'), ), ]