summaryrefslogtreecommitdiff
path: root/app/unused_apps/expenses/migrations/0001_initial.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-12-02 15:02:12 -0500
committerluxagraf <sng@luxagraf.net>2020-12-02 15:02:12 -0500
commitab8055b5cab2523d925f59c65bc38df103a26991 (patch)
tree29e4597bc0d86d658f574c0c4f0b036351a68742 /app/unused_apps/expenses/migrations/0001_initial.py
parent87f692178a6e30719c564076f00c206642f36ce6 (diff)
deleted old apps and media
Diffstat (limited to 'app/unused_apps/expenses/migrations/0001_initial.py')
-rw-r--r--app/unused_apps/expenses/migrations/0001_initial.py48
1 files changed, 0 insertions, 48 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'),
- ),
- ]