From e12575e1de662578225397e6a7a42a8ac5132c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Fri, 28 Feb 2020 09:59:13 +0100 Subject: [PATCH] Commit forgotten migration on Orders (Float->Decimal) --- .../migrations/0009_auto_20200228_0825.py | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 uncloud/uncloud_pay/migrations/0009_auto_20200228_0825.py diff --git a/uncloud/uncloud_pay/migrations/0009_auto_20200228_0825.py b/uncloud/uncloud_pay/migrations/0009_auto_20200228_0825.py new file mode 100644 index 0000000..66feb51 --- /dev/null +++ b/uncloud/uncloud_pay/migrations/0009_auto_20200228_0825.py @@ -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), + ), + ]