Skip to content

Commit 9cec439

Browse files
author
CryptAPI
committed
Added migrations
1 parent c610b7b commit 9cec439

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

cryptapi/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from distutils.version import StrictVersion
22

33

4-
VERSION = StrictVersion('0.1.3')
4+
VERSION = StrictVersion('0.1.4')
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Generated by Django 2.1.1 on 2019-07-29 10:32
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('cryptapi', '0003_auto_20181112_1939'),
10+
]
11+
12+
operations = [
13+
migrations.AddField(
14+
model_name='payment',
15+
name='pending',
16+
field=models.BooleanField(default=True),
17+
),
18+
migrations.AlterField(
19+
model_name='provider',
20+
name='coin',
21+
field=models.CharField(choices=[('btc', 'Bitcoin'), ('eth', 'Ethereum'), ('bch', 'Bitcoin Cash'), ('ltc', 'Litecoin'), ('iota', 'IOTA'), ('xmr', 'Monero')], max_length=8, unique=True, verbose_name='Coin'),
22+
),
23+
migrations.AlterField(
24+
model_name='request',
25+
name='status',
26+
field=models.CharField(choices=[('created', 'Created'), ('pending', 'Pending'), ('insufficient', 'Payment Insufficient'), ('received', 'Received'), ('done', 'Done')], default='', max_length=16, null=True, verbose_name='Status'),
27+
),
28+
]

0 commit comments

Comments
 (0)