# Generated by Django 5.1.6 on 2025-03-06 11:21

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('draw', '0005_alter_lottery_options_alter_prize_options_and_more'),
        ('webapp', '0003_alter_client_options_alter_invoice_options'),
    ]

    operations = [
        migrations.AlterField(
            model_name='lotteryparticipant',
            name='invoice',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='webapp.invoice', verbose_name='Счет участника'),
        ),
        migrations.AlterField(
            model_name='prize',
            name='winner',
            field=models.ForeignKey(blank=True, help_text='Выберите счет участника лотереи, который выиграл приз', null=True, on_delete=django.db.models.deletion.SET_NULL, to='draw.lotteryparticipant', verbose_name='Победитель (счет)'),
        ),
    ]
