prod
Dmitriy Shesterkin 9 years ago
parent c2c0acc354
commit c0b2d71147
  1. 24
      src/customer/migrations/0008_auto_20170717_1429.py
  2. 19
      src/customer/migrations/0009_payment_date.py

@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('customer', '0007_payment_status'),
]
operations = [
migrations.AddField(
model_name='payment',
name='type',
field=models.PositiveSmallIntegerField(verbose_name='Тип платежа', default=0, choices=[(0, 'Безналичный расчёт'), (1, 'Банковская карта')]),
),
migrations.AlterField(
model_name='license',
name='payform',
field=models.IntegerField(verbose_name='форма оплаты', default=0, choices=[(-2, 'Бонусная'), (-1, 'Бесплатно'), (0, 'Безналичный расчёт'), (1, 'Банковская карта')]),
),
]

@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('customer', '0008_auto_20170717_1429'),
]
operations = [
migrations.AddField(
model_name='payment',
name='date',
field=models.DateField(verbose_name='Дата', blank=True, null=True),
),
]
Loading…
Cancel
Save