summaryrefslogtreecommitdiff
path: root/app/unused_apps/expenses/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'app/unused_apps/expenses/migrations')
-rw-r--r--app/unused_apps/expenses/migrations/0001_initial.py48
-rw-r--r--app/unused_apps/expenses/migrations/0002_luxexpense.py26
-rw-r--r--app/unused_apps/expenses/migrations/0003_auto_20170429_0748.py40
-rw-r--r--app/unused_apps/expenses/migrations/__init__.py0
4 files changed, 0 insertions, 114 deletions
diff --git a/app/unused_apps/expenses/migrations/0001_initial.py b/app/unused_apps/expenses/migrations/0001_initial.py
deleted file mode 100644
index 5ff70cd..0000000
--- a/app/unused_apps/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/unused_apps/expenses/migrations/0002_luxexpense.py b/app/unused_apps/expenses/migrations/0002_luxexpense.py
deleted file mode 100644
index 9edfdb4..0000000
--- a/app/unused_apps/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/unused_apps/expenses/migrations/0003_auto_20170429_0748.py b/app/unused_apps/expenses/migrations/0003_auto_20170429_0748.py
deleted file mode 100644
index 69f14ec..0000000
--- a/app/unused_apps/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/unused_apps/expenses/migrations/__init__.py b/app/unused_apps/expenses/migrations/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/app/unused_apps/expenses/migrations/__init__.py
+++ /dev/null