New payment retry policy.
[wolnelektury.git] / src / pz / migrations / 0005_bankexportfeedback_bankexportfeedbackline.py
1 # Generated by Django 2.2.19 on 2021-10-11 11:40
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', '0004_auto_20210929_1938'),
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='BankExportFeedback',
16             fields=[
17                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18                 ('created_at', models.DateTimeField(auto_now_add=True)),
19                 ('csv', models.FileField(upload_to='pz/feedback/')),
20             ],
21         ),
22         migrations.CreateModel(
23             name='BankExportFeedbackLine',
24             fields=[
25                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
26                 ('status', models.SmallIntegerField()),
27                 ('comment', models.CharField(max_length=255)),
28                 ('debit', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pz.DirectDebit')),
29                 ('feedback', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='pz.BankExportFeedback')),
30             ],
31         ),
32     ]