25 lines
854 B
Python
25 lines
854 B
Python
|
# 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')),
|
||
|
],
|
||
|
),
|
||
|
]
|