susioma/ledger/migrations/0001_initial.py

25 lines
854 B
Python
Raw Permalink Normal View History

2019-10-26 15:25:21 +00:00
# Generated by Django 2.2.6 on 2019-10-26 14:50
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Payment',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('description', models.CharField(max_length=128, verbose_name='Payment description')),
('amount', models.DecimalField(decimal_places=2, max_digits=15, verbose_name='Payment amount')),
('date', models.DateTimeField(auto_now_add=True, verbose_name='Date of payment')),
('repayment', models.DateTimeField(default=None, null=True, verbose_name='Date of repayment')),
],
),
]