forked from uncloud/uncloud
Commit forgotten migration on Orders (Float->Decimal)
This commit is contained in:
parent
adb57c55ca
commit
e12575e1de
1 changed files with 29 additions and 0 deletions
29
uncloud/uncloud_pay/migrations/0009_auto_20200228_0825.py
Normal file
29
uncloud/uncloud_pay/migrations/0009_auto_20200228_0825.py
Normal 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),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue