Style fix
[wolnelektury.git] / src / club / migrations / 0040_amount.py
1 # Generated by Django 2.2.27 on 2022-08-26 12:39
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         ('club', '0039_auto_20220421_0109'),
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='SingleAmount',
16             fields=[
17                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
18                 ('amount', models.IntegerField()),
19                 ('description', models.TextField(blank=True)),
20                 ('club', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='club.Club')),
21             ],
22             options={
23                 'ordering': ['amount'],
24             },
25         ),
26         migrations.CreateModel(
27             name='MonthlyAmount',
28             fields=[
29                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
30                 ('amount', models.IntegerField()),
31                 ('description', models.TextField(blank=True)),
32                 ('club', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='club.Club')),
33             ],
34             options={
35                 'ordering': ['amount'],
36             },
37         ),
38     ]