# Generated by Django 6.0.3 on 2026-03-23 22:10 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('finance', '0005_add_subscriptions_category'), ] operations = [ migrations.CreateModel( name='Expense', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('amount', models.DecimalField(decimal_places=2, max_digits=12)), ('date', models.DateField()), ('category', models.CharField(choices=[('groceries', 'Groceries'), ('dining', 'Dining & Restaurants'), ('transport', 'Transport'), ('health', 'Health & Medical'), ('clothing', 'Clothing'), ('electronics', 'Electronics'), ('household', 'Household'), ('entertainment', 'Entertainment'), ('travel', 'Travel'), ('other', 'Other')], default='other', max_length=50)), ('notes', models.TextField(blank=True, default='')), ('account', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='expenses', to='finance.account')), ], ), ]