robosats/api/migrations/0017_auto_20220710_1127.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', '0016_alter_onchainpayment_swap_fee_rate'),
]
operations = [
migrations.AlterField(
model_name='lnpayment',
name='num_satoshis',
field=models.PositiveBigIntegerField(validators=[django.core.validators.MinValueValidator(100), django.core.validators.MaxValueValidator(4500000.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(4500000.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(4500000.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(6000000)]),
),
migrations.AlterField(
model_name='order',
name='satoshis',
field=models.PositiveBigIntegerField(blank=True, null=True, validators=[django.core.validators.MinValueValidator(20000), django.core.validators.MaxValueValidator(3000000)]),
),
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(3000000)]),
),
]