diff options
Diffstat (limited to 'app/budget/migrations')
12 files changed, 0 insertions, 255 deletions
diff --git a/app/budget/migrations/0001_initial.py b/app/budget/migrations/0001_initial.py deleted file mode 100644 index 30bd5a1..0000000 --- a/app/budget/migrations/0001_initial.py +++ /dev/null @@ -1,36 +0,0 @@ -# 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/app/budget/migrations/0002_alter_luxpurchase_amount.py b/app/budget/migrations/0002_alter_luxpurchase_amount.py deleted file mode 100644 index 06400dd..0000000 --- a/app/budget/migrations/0002_alter_luxpurchase_amount.py +++ /dev/null @@ -1,18 +0,0 @@ -# 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/app/budget/migrations/0003_alter_luxpurchase_category_alter_luxpurchase_source.py b/app/budget/migrations/0003_alter_luxpurchase_category_alter_luxpurchase_source.py deleted file mode 100644 index a880acf..0000000 --- a/app/budget/migrations/0003_alter_luxpurchase_category_alter_luxpurchase_source.py +++ /dev/null @@ -1,23 +0,0 @@ -# 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/app/budget/migrations/0004_alter_luxpurchase_source.py b/app/budget/migrations/0004_alter_luxpurchase_source.py deleted file mode 100644 index 0eab270..0000000 --- a/app/budget/migrations/0004_alter_luxpurchase_source.py +++ /dev/null @@ -1,19 +0,0 @@ -# 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/app/budget/migrations/0005_luxspendingcategory_luxfixedmonthly.py b/app/budget/migrations/0005_luxspendingcategory_luxfixedmonthly.py deleted file mode 100644 index 66af470..0000000 --- a/app/budget/migrations/0005_luxspendingcategory_luxfixedmonthly.py +++ /dev/null @@ -1,33 +0,0 @@ -# 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/app/budget/migrations/0006_remove_luxfixedmonthly_cat_and_more.py b/app/budget/migrations/0006_remove_luxfixedmonthly_cat_and_more.py deleted file mode 100644 index 3631cc3..0000000 --- a/app/budget/migrations/0006_remove_luxfixedmonthly_cat_and_more.py +++ /dev/null @@ -1,23 +0,0 @@ -# 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/app/budget/migrations/0007_luxpurchase_cat.py b/app/budget/migrations/0007_luxpurchase_cat.py deleted file mode 100644 index 7a8e548..0000000 --- a/app/budget/migrations/0007_luxpurchase_cat.py +++ /dev/null @@ -1,19 +0,0 @@ -# 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/app/budget/migrations/0008_remove_luxpurchase_category.py b/app/budget/migrations/0008_remove_luxpurchase_category.py deleted file mode 100644 index 7e2a0b9..0000000 --- a/app/budget/migrations/0008_remove_luxpurchase_category.py +++ /dev/null @@ -1,17 +0,0 @@ -# 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/app/budget/migrations/0009_rename_cat_luxpurchase_category.py b/app/budget/migrations/0009_rename_cat_luxpurchase_category.py deleted file mode 100644 index c0efeff..0000000 --- a/app/budget/migrations/0009_rename_cat_luxpurchase_category.py +++ /dev/null @@ -1,18 +0,0 @@ -# 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/app/budget/migrations/0010_luxfixedmonthly_amount.py b/app/budget/migrations/0010_luxfixedmonthly_amount.py deleted file mode 100644 index 15461d4..0000000 --- a/app/budget/migrations/0010_luxfixedmonthly_amount.py +++ /dev/null @@ -1,18 +0,0 @@ -# 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/app/budget/migrations/0011_luxpaymentmethod_alter_luxfixedmonthly_amount_and_more.py b/app/budget/migrations/0011_luxpaymentmethod_alter_luxfixedmonthly_amount_and_more.py deleted file mode 100644 index 4186c52..0000000 --- a/app/budget/migrations/0011_luxpaymentmethod_alter_luxfixedmonthly_amount_and_more.py +++ /dev/null @@ -1,31 +0,0 @@ -# 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/app/budget/migrations/__init__.py b/app/budget/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/app/budget/migrations/__init__.py +++ /dev/null |