summaryrefslogtreecommitdiff
path: root/app/budget/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'app/budget/migrations')
-rw-r--r--app/budget/migrations/0011_luxpaymentmethod_alter_luxfixedmonthly_amount_and_more.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/app/budget/migrations/0011_luxpaymentmethod_alter_luxfixedmonthly_amount_and_more.py b/app/budget/migrations/0011_luxpaymentmethod_alter_luxfixedmonthly_amount_and_more.py
new file mode 100644
index 0000000..4186c52
--- /dev/null
+++ b/app/budget/migrations/0011_luxpaymentmethod_alter_luxfixedmonthly_amount_and_more.py
@@ -0,0 +1,31 @@
+# Generated by Django 4.0.6 on 2022-11-13 11:11
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('budget', '0010_luxfixedmonthly_amount'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='LuxPaymentMethod',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=200)),
+ ],
+ ),
+ migrations.AlterField(
+ model_name='luxfixedmonthly',
+ name='amount',
+ field=models.DecimalField(decimal_places=2, max_digits=6),
+ ),
+ migrations.AddField(
+ model_name='luxfixedmonthly',
+ name='payment_method',
+ field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='budget.luxpaymentmethod'),
+ ),
+ ]