Add migrations for env decoupling from models

This commit is contained in:
Reckless_Satoshi 2023-10-11 03:49:11 -07:00
parent 7dfe995078
commit 77783e1502
No known key found for this signature in database
GPG Key ID: 9C4585B561315571

View File

@ -0,0 +1,53 @@
# Generated by Django 4.2.6 on 2023-10-11 10:48
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("api", "0043_order_latitude_order_longitude"),
]
operations = [
migrations.AlterField(
model_name="markettick",
name="fee",
field=models.DecimalField(
decimal_places=4,
default=0,
max_digits=4,
validators=[
django.core.validators.MinValueValidator(0),
django.core.validators.MaxValueValidator(1),
],
),
),
migrations.AlterField(
model_name="onchainpayment",
name="num_satoshis",
field=models.PositiveBigIntegerField(
null=True,
validators=[
django.core.validators.MinValueValidator(0),
django.core.validators.MaxValueValidator(7500000.0),
],
),
),
migrations.AlterField(
model_name="onchainpayment",
name="sent_satoshis",
field=models.PositiveBigIntegerField(
null=True,
validators=[
django.core.validators.MinValueValidator(0),
django.core.validators.MaxValueValidator(7500000.0),
],
),
),
migrations.AlterField(
model_name="onchainpayment",
name="swap_fee_rate",
field=models.DecimalField(decimal_places=2, default=1, max_digits=4),
),
]