More views, and likes working.
[wolnelektury.git] / src / pz / migrations / 0011_payment.py
1 # Generated by Django 2.2.27 on 2022-05-16 10:58
2
3 from django.db import migrations, models
4 import django.db.models.deletion
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10         ('pz', '0010_auto_20220127_1359'),
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='Payment',
16             fields=[
17                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18                 ('booking_date', models.DateField()),
19                 ('is_dd', models.BooleanField()),
20                 ('realised', models.BooleanField()),
21                 ('reject_code', models.CharField(blank=True, max_length=128)),
22                 ('debit', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pz.DirectDebit')),
23                 ('feedback', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pz.BankExportFeedback')),
24             ],
25         ),
26     ]