diff options
author | luxagraf <sng@luxagraf.net> | 2020-08-15 11:58:34 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-08-15 11:58:34 -0400 |
commit | b66d000ee469539ce7aea557b612c0444177e36d (patch) | |
tree | 273547921dc6f9ded2a5681b82514c68e28ba448 /app/expenses/migrations | |
parent | d3e57c1bd17ad3e71810235a672d4782136901a5 (diff) |
archived old unused apps and migrated fieldnotes to posts
Diffstat (limited to 'app/expenses/migrations')
-rw-r--r-- | app/expenses/migrations/0001_initial.py | 48 | ||||
-rw-r--r-- | app/expenses/migrations/0002_luxexpense.py | 26 | ||||
-rw-r--r-- | app/expenses/migrations/0003_auto_20170429_0748.py | 40 | ||||
-rw-r--r-- | app/expenses/migrations/__init__.py | 0 |
4 files changed, 0 insertions, 114 deletions
diff --git a/app/expenses/migrations/0001_initial.py b/app/expenses/migrations/0001_initial.py deleted file mode 100644 index 5ff70cd..0000000 --- a/app/expenses/migrations/0001_initial.py +++ /dev/null @@ -1,48 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2017-04-28 22:47 -from __future__ import unicode_literals - -from django.db import migrations, models -import django.db.models.deletion -import django.utils.timezone - - -class Migration(migrations.Migration): - - initial = True - - dependencies = [ - ] - - operations = [ - migrations.CreateModel( - name='Expense', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('name', models.CharField(max_length=200)), - ('amount', models.DecimalField(decimal_places=2, max_digits=8)), - ('date', models.DateTimeField(default=django.utils.timezone.now)), - ('notes', models.TextField(blank=True, null=True)), - ('category', models.CharField(choices=[('1', 'Groceries'), ('2', 'Restaurants'), ('3', 'Camping'), ('4', 'Petrol'), ('5', 'Bus'), ('6', 'Misc')], default=1, max_length=2)), - ], - options={ - 'ordering': ('-date',), - }, - ), - migrations.CreateModel( - name='Trip', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('name', models.CharField(max_length=200)), - ('slug', models.SlugField()), - ('start', models.DateTimeField(blank=True, default=django.utils.timezone.now, null=True)), - ('end', models.DateTimeField(blank=True, default=django.utils.timezone.now, null=True)), - ('dek', models.TextField(blank=True, null=True)), - ], - ), - migrations.AddField( - model_name='expense', - name='trip', - field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='expenses.Trip'), - ), - ] diff --git a/app/expenses/migrations/0002_luxexpense.py b/app/expenses/migrations/0002_luxexpense.py deleted file mode 100644 index 9edfdb4..0000000 --- a/app/expenses/migrations/0002_luxexpense.py +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2017-04-28 22:48 -from __future__ import unicode_literals - -from django.db import migrations, models -import django.utils.timezone - - -class Migration(migrations.Migration): - - dependencies = [ - ('expenses', '0001_initial'), - ] - - operations = [ - migrations.CreateModel( - name='LuxExpense', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('category', models.CharField(choices=[('1', 'Groceries'), ('2', 'Restaurants'), ('3', 'Camping'), ('4', 'Petrol'), ('5', 'Bus'), ('6', 'Misc')], default=1, max_length=2)), - ('amount', models.DecimalField(decimal_places=2, max_digits=8)), - ('date', models.DateTimeField(default=django.utils.timezone.now)), - ('notes', models.TextField(blank=True, null=True)), - ], - ), - ] diff --git a/app/expenses/migrations/0003_auto_20170429_0748.py b/app/expenses/migrations/0003_auto_20170429_0748.py deleted file mode 100644 index 69f14ec..0000000 --- a/app/expenses/migrations/0003_auto_20170429_0748.py +++ /dev/null @@ -1,40 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9 on 2017-04-29 07:48 -from __future__ import unicode_literals - -from django.db import migrations, models -import django.db.models.deletion -import django.utils.timezone - - -class Migration(migrations.Migration): - - dependencies = [ - ('expenses', '0002_luxexpense'), - ] - - operations = [ - migrations.CreateModel( - name='Month', - fields=[ - ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('name', models.CharField(max_length=200)), - ('year', models.IntegerField()), - ('date', models.DateTimeField(default=django.utils.timezone.now)), - ('notes', models.TextField(blank=True, null=True)), - ], - ), - migrations.RemoveField( - model_name='luxexpense', - name='date', - ), - migrations.RemoveField( - model_name='luxexpense', - name='notes', - ), - migrations.AddField( - model_name='luxexpense', - name='month', - field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='expenses.Month'), - ), - ] diff --git a/app/expenses/migrations/__init__.py b/app/expenses/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/app/expenses/migrations/__init__.py +++ /dev/null |