diff options
Diffstat (limited to 'bak/unused_apps/budget/migrations')
12 files changed, 255 insertions, 0 deletions
diff --git a/bak/unused_apps/budget/migrations/0001_initial.py b/bak/unused_apps/budget/migrations/0001_initial.py new file mode 100644 index 0000000..30bd5a1 --- /dev/null +++ b/bak/unused_apps/budget/migrations/0001_initial.py @@ -0,0 +1,36 @@ +# Generated by Django 4.0.6 on 2022-11-11 17:50 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='LuxSource', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=200)), + ('date_recorded', models.DateTimeField(auto_now_add=True)), + ], + ), + migrations.CreateModel( + name='LuxPurchase', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('amount', models.IntegerField()), + ('category', models.IntegerField(choices=[(0, 'Grocery and Home'), (1, 'Gas'), (2, 'Bus'), (3, 'Lodging'), (4, 'Books'), (5, 'Clothes'), (6, 'Eating Out'), (7, 'Misc')], default=0)), + ('date_recorded', models.DateTimeField(auto_now_add=True)), + ('source', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='budget.luxsource')), + ], + options={ + 'ordering': ('-date_recorded',), + }, + ), + ] diff --git a/bak/unused_apps/budget/migrations/0002_alter_luxpurchase_amount.py b/bak/unused_apps/budget/migrations/0002_alter_luxpurchase_amount.py new file mode 100644 index 0000000..06400dd --- /dev/null +++ b/bak/unused_apps/budget/migrations/0002_alter_luxpurchase_amount.py @@ -0,0 +1,18 @@ +# Generated by Django 4.0.6 on 2022-11-11 18:06 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('budget', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='luxpurchase', + name='amount', + field=models.DecimalField(decimal_places=2, max_digits=6), + ), + ] diff --git a/bak/unused_apps/budget/migrations/0003_alter_luxpurchase_category_alter_luxpurchase_source.py b/bak/unused_apps/budget/migrations/0003_alter_luxpurchase_category_alter_luxpurchase_source.py new file mode 100644 index 0000000..a880acf --- /dev/null +++ b/bak/unused_apps/budget/migrations/0003_alter_luxpurchase_category_alter_luxpurchase_source.py @@ -0,0 +1,23 @@ +# Generated by Django 4.0.6 on 2022-11-12 10:18 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('budget', '0002_alter_luxpurchase_amount'), + ] + + operations = [ + migrations.AlterField( + model_name='luxpurchase', + name='category', + field=models.IntegerField(choices=[(0, 'Grocery & Home'), (1, 'Gas'), (2, 'Bus'), (3, 'Lodging'), (4, 'Books'), (5, 'Clothes'), (6, 'Eating Out'), (7, 'Misc')], default=0), + ), + migrations.AlterField( + model_name='luxpurchase', + name='source', + field=models.IntegerField(choices=[(0, 'Walmart'), (1, 'Grocery Store'), (2, 'Gas Station'), (3, 'Amazon')], default=0), + ), + ] diff --git a/bak/unused_apps/budget/migrations/0004_alter_luxpurchase_source.py b/bak/unused_apps/budget/migrations/0004_alter_luxpurchase_source.py new file mode 100644 index 0000000..0eab270 --- /dev/null +++ b/bak/unused_apps/budget/migrations/0004_alter_luxpurchase_source.py @@ -0,0 +1,19 @@ +# Generated by Django 4.0.6 on 2022-11-12 10:46 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('budget', '0003_alter_luxpurchase_category_alter_luxpurchase_source'), + ] + + operations = [ + migrations.AlterField( + model_name='luxpurchase', + name='source', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='budget.luxsource'), + ), + ] diff --git a/bak/unused_apps/budget/migrations/0005_luxspendingcategory_luxfixedmonthly.py b/bak/unused_apps/budget/migrations/0005_luxspendingcategory_luxfixedmonthly.py new file mode 100644 index 0000000..66af470 --- /dev/null +++ b/bak/unused_apps/budget/migrations/0005_luxspendingcategory_luxfixedmonthly.py @@ -0,0 +1,33 @@ +# Generated by Django 4.0.6 on 2022-11-12 12:52 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('budget', '0004_alter_luxpurchase_source'), + ] + + operations = [ + migrations.CreateModel( + name='LuxSpendingCategory', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=200)), + ('date_recorded', models.DateTimeField(auto_now_add=True)), + ], + ), + migrations.CreateModel( + name='LuxFixedMonthly', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=200)), + ('category', models.IntegerField(choices=[(0, 'Grocery & Home'), (1, 'Gas'), (2, 'Bus'), (3, 'Lodging'), (4, 'Books'), (5, 'Clothes'), (6, 'Eating Out'), (7, 'Misc')], default=0)), + ('date_recorded', models.DateTimeField(auto_now_add=True)), + ('cat', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='budget.luxspendingcategory')), + ('source', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='budget.luxsource')), + ], + ), + ] diff --git a/bak/unused_apps/budget/migrations/0006_remove_luxfixedmonthly_cat_and_more.py b/bak/unused_apps/budget/migrations/0006_remove_luxfixedmonthly_cat_and_more.py new file mode 100644 index 0000000..3631cc3 --- /dev/null +++ b/bak/unused_apps/budget/migrations/0006_remove_luxfixedmonthly_cat_and_more.py @@ -0,0 +1,23 @@ +# Generated by Django 4.0.6 on 2022-11-12 12:53 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('budget', '0005_luxspendingcategory_luxfixedmonthly'), + ] + + operations = [ + migrations.RemoveField( + model_name='luxfixedmonthly', + name='cat', + ), + migrations.AlterField( + model_name='luxfixedmonthly', + name='category', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='budget.luxspendingcategory'), + ), + ] diff --git a/bak/unused_apps/budget/migrations/0007_luxpurchase_cat.py b/bak/unused_apps/budget/migrations/0007_luxpurchase_cat.py new file mode 100644 index 0000000..7a8e548 --- /dev/null +++ b/bak/unused_apps/budget/migrations/0007_luxpurchase_cat.py @@ -0,0 +1,19 @@ +# Generated by Django 4.0.6 on 2022-11-12 12:56 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('budget', '0006_remove_luxfixedmonthly_cat_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='luxpurchase', + name='cat', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='budget.luxspendingcategory'), + ), + ] diff --git a/bak/unused_apps/budget/migrations/0008_remove_luxpurchase_category.py b/bak/unused_apps/budget/migrations/0008_remove_luxpurchase_category.py new file mode 100644 index 0000000..7e2a0b9 --- /dev/null +++ b/bak/unused_apps/budget/migrations/0008_remove_luxpurchase_category.py @@ -0,0 +1,17 @@ +# Generated by Django 4.0.6 on 2022-11-12 13:15 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('budget', '0007_luxpurchase_cat'), + ] + + operations = [ + migrations.RemoveField( + model_name='luxpurchase', + name='category', + ), + ] diff --git a/bak/unused_apps/budget/migrations/0009_rename_cat_luxpurchase_category.py b/bak/unused_apps/budget/migrations/0009_rename_cat_luxpurchase_category.py new file mode 100644 index 0000000..c0efeff --- /dev/null +++ b/bak/unused_apps/budget/migrations/0009_rename_cat_luxpurchase_category.py @@ -0,0 +1,18 @@ +# Generated by Django 4.0.6 on 2022-11-12 13:16 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('budget', '0008_remove_luxpurchase_category'), + ] + + operations = [ + migrations.RenameField( + model_name='luxpurchase', + old_name='cat', + new_name='category', + ), + ] diff --git a/bak/unused_apps/budget/migrations/0010_luxfixedmonthly_amount.py b/bak/unused_apps/budget/migrations/0010_luxfixedmonthly_amount.py new file mode 100644 index 0000000..15461d4 --- /dev/null +++ b/bak/unused_apps/budget/migrations/0010_luxfixedmonthly_amount.py @@ -0,0 +1,18 @@ +# Generated by Django 4.0.6 on 2022-11-13 10:48 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('budget', '0009_rename_cat_luxpurchase_category'), + ] + + operations = [ + migrations.AddField( + model_name='luxfixedmonthly', + name='amount', + field=models.DecimalField(decimal_places=2, max_digits=6, null=True), + ), + ] diff --git a/bak/unused_apps/budget/migrations/0011_luxpaymentmethod_alter_luxfixedmonthly_amount_and_more.py b/bak/unused_apps/budget/migrations/0011_luxpaymentmethod_alter_luxfixedmonthly_amount_and_more.py new file mode 100644 index 0000000..4186c52 --- /dev/null +++ b/bak/unused_apps/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'), + ), + ] diff --git a/bak/unused_apps/budget/migrations/__init__.py b/bak/unused_apps/budget/migrations/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/bak/unused_apps/budget/migrations/__init__.py |