Merge remote-tracking branch 'zawadzki/new-design'
[wolnelektury.git] / src / club / migrations / 0028_directdebit.py
1 # Generated by Django 2.2.19 on 2021-06-15 13:27
2
3 from django.db import migrations, models
4
5
6 class Migration(migrations.Migration):
7
8     dependencies = [
9         ('club', '0027_auto_20210609_1158'),
10     ]
11
12     operations = [
13         migrations.CreateModel(
14             name='DirectDebit',
15             fields=[
16                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
17                 ('first_name', models.CharField(blank=True, max_length=255, verbose_name='first name')),
18                 ('last_name', models.CharField(blank=True, max_length=255, verbose_name='last name')),
19                 ('sex', models.CharField(blank=True, choices=[('M', 'M'), ('F', 'F')], max_length=1, verbose_name='sex')),
20                 ('date_of_birth', models.DateField(blank=True, null=True, verbose_name='date of birth')),
21                 ('street', models.CharField(blank=True, max_length=255, verbose_name='street')),
22                 ('building', models.CharField(blank=True, max_length=255, verbose_name='building')),
23                 ('flat', models.CharField(blank=True, max_length=255, verbose_name='flat')),
24                 ('town', models.CharField(blank=True, max_length=255, verbose_name='town')),
25                 ('postal_code', models.CharField(blank=True, max_length=255, verbose_name='postal code')),
26                 ('phone', models.CharField(blank=True, max_length=255, verbose_name='phone')),
27                 ('email', models.CharField(blank=True, max_length=255, verbose_name='e-mail')),
28                 ('iban', models.CharField(blank=True, max_length=255, verbose_name='IBAN')),
29                 ('payment_id', models.CharField(blank=True, max_length=255, verbose_name='payment identifier')),
30                 ('agree_newsletter', models.BooleanField(verbose_name='agree newsletter')),
31                 ('date', models.DateField(verbose_name='date')),
32                 ('amount', models.IntegerField(verbose_name='amount')),
33             ],
34             options={
35                 'verbose_name': 'direct debit',
36                 'verbose_name_plural': 'direct debits',
37             },
38         ),
39     ]