robosats/api/migrations/0020_auto_20220731_1425.py

43 lines
1.9 KiB
Python
Raw Normal View History

import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0019_order_contract_finalization_time'),
]
operations = [
migrations.AlterField(
model_name='lnpayment',
name='num_satoshis',
field=models.PositiveBigIntegerField(validators=[django.core.validators.MinValueValidator(100), django.core.validators.MaxValueValidator(6000000.0)]),
),
migrations.AlterField(
model_name='onchainpayment',
name='num_satoshis',
field=models.PositiveBigIntegerField(null=True, validators=[django.core.validators.MinValueValidator(10000.0), django.core.validators.MaxValueValidator(6000000.0)]),
),
migrations.AlterField(
model_name='onchainpayment',
name='sent_satoshis',
field=models.PositiveBigIntegerField(null=True, validators=[django.core.validators.MinValueValidator(10000.0), django.core.validators.MaxValueValidator(6000000.0)]),
),
migrations.AlterField(
model_name='order',
name='last_satoshis',
field=models.PositiveBigIntegerField(blank=True, null=True, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(8000000)]),
),
migrations.AlterField(
model_name='order',
name='satoshis',
field=models.PositiveBigIntegerField(blank=True, null=True, validators=[django.core.validators.MinValueValidator(20000), django.core.validators.MaxValueValidator(4000000)]),
),
migrations.AlterField(
model_name='order',
name='t0_satoshis',
field=models.PositiveBigIntegerField(blank=True, null=True, validators=[django.core.validators.MinValueValidator(20000), django.core.validators.MaxValueValidator(4000000)]),
),
]