forked from uncloud/uncloud
22 lines
646 B
Python
22 lines
646 B
Python
|
# Generated by Django 3.1 on 2020-10-06 16:40
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('uncloud_pay', '0029_auto_20201006_1540'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.RemoveConstraint(
|
||
|
model_name='producttorecurringperiod',
|
||
|
name='one_default_recurring_period_per_product',
|
||
|
),
|
||
|
migrations.AddConstraint(
|
||
|
model_name='producttorecurringperiod',
|
||
|
constraint=models.UniqueConstraint(condition=models.Q(is_default=True), fields=('product',), name='one_default_recurring_period_per_product'),
|
||
|
),
|
||
|
]
|