summaryrefslogtreecommitdiff
path: root/app/budget/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'app/budget/migrations')
-rw-r--r--app/budget/migrations/0002_alter_luxpurchase_amount.py18
-rw-r--r--app/budget/migrations/0003_alter_luxpurchase_category_alter_luxpurchase_source.py23
-rw-r--r--app/budget/migrations/0004_alter_luxpurchase_source.py19
3 files changed, 60 insertions, 0 deletions
diff --git a/app/budget/migrations/0002_alter_luxpurchase_amount.py b/app/budget/migrations/0002_alter_luxpurchase_amount.py
new file mode 100644
index 0000000..06400dd
--- /dev/null
+++ b/app/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/app/budget/migrations/0003_alter_luxpurchase_category_alter_luxpurchase_source.py b/app/budget/migrations/0003_alter_luxpurchase_category_alter_luxpurchase_source.py
new file mode 100644
index 0000000..a880acf
--- /dev/null
+++ b/app/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/app/budget/migrations/0004_alter_luxpurchase_source.py b/app/budget/migrations/0004_alter_luxpurchase_source.py
new file mode 100644
index 0000000..0eab270
--- /dev/null
+++ b/app/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'),
+ ),
+ ]