Commit forgotten migration on Orders (Float->Decimal)

This commit is contained in:
fnux 2020-02-28 09:59:13 +01:00
parent adb57c55ca
commit e12575e1de

View file

@ -0,0 +1,29 @@
# Generated by Django 3.0.3 on 2020-02-28 08:25
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('uncloud_pay', '0008_order_bill'),
]
operations = [
migrations.AlterField(
model_name='order',
name='one_time_price',
field=models.DecimalField(decimal_places=2, editable=False, max_digits=10, validators=[django.core.validators.MinValueValidator(0)]),
),
migrations.AlterField(
model_name='order',
name='recurring_price',
field=models.DecimalField(decimal_places=2, editable=False, max_digits=10, validators=[django.core.validators.MinValueValidator(0)]),
),
migrations.AlterField(
model_name='payment',
name='timestamp',
field=models.DateTimeField(auto_now_add=True),
),
]