Skip to content

Commit

Permalink
Add migrations for env decoupling from models
Browse files Browse the repository at this point in the history
  • Loading branch information
Reckless-Satoshi committed Oct 11, 2023
1 parent 7dfe995 commit 77783e1
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions api/migrations/0044_alter_markettick_fee_and_more.py
Original file line number Diff line number Diff line change
@@ -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),
),
]

0 comments on commit 77783e1

Please sign in to comment.