X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/592c9401b18118e01de250d44878b9289b138f9c..fd1a9915dd65789cccf27041a1f01cd4077273fc:/src/club/migrations/0040_amount.py?ds=sidebyside diff --git a/src/club/migrations/0040_amount.py b/src/club/migrations/0040_amount.py new file mode 100644 index 000000000..1a1215508 --- /dev/null +++ b/src/club/migrations/0040_amount.py @@ -0,0 +1,38 @@ +# Generated by Django 2.2.27 on 2022-08-26 12:39 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('club', '0039_auto_20220421_0109'), + ] + + operations = [ + migrations.CreateModel( + name='SingleAmount', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('amount', models.IntegerField()), + ('description', models.TextField(blank=True)), + ('club', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='club.Club')), + ], + options={ + 'ordering': ['amount'], + }, + ), + migrations.CreateModel( + name='MonthlyAmount', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('amount', models.IntegerField()), + ('description', models.TextField(blank=True)), + ('club', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='club.Club')), + ], + options={ + 'ordering': ['amount'], + }, + ), + ]