22 lines
708 B
Python
22 lines
708 B
Python
# Generated by Django 5.2.19 on 2026-11-16 14:58
|
|||
|
|
|
||
|
|
from django.db import migrations, models
|
||
|
|
|
||
|
|
|
||
|
|
class Migration(migrations.Migration):
|
||
|
|
|
||
|
|
dependencies = [
|
||
|
|
('lottery', '0005_transaction_versions_append_only'),
|
||
|
|
]
|
||
|
|
|
||
|
|
operations = [
|
||
|
|
migrations.AddField(
|
||
|
|
model_name='lotteryconfig',
|
||
|
|
name='deposit_confirmations',
|
||
|
|
field=models.PositiveSmallIntegerField(default=6),
|
||
|
|
),
|
||
|
|
migrations.AddConstraint(
|
||
|
|
model_name='lotteryconfig',
|
||
|
|
constraint=models.CheckConstraint(condition=models.Q(('deposit_confirmations__gte', 1), ('deposit_confirmations__lte', 100)), name='lottery_config_deposit_confirmations_range'),
|
||
|
|
),
|
||
|
|
]
|