aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/migrations
diff options
context:
space:
mode:
authorMitch Riedstra <Mitch@riedstra.us>2017-10-11 15:04:54 -0400
committerMitch Riedstra <Mitch@riedstra.us>2017-10-11 15:04:54 -0400
commit7e4586e4f9d1a00be0a546b490ebfd09d0b8b307 (patch)
tree18e1138ad2c1971e2fdda4e273dd383ca57258b6 /app/dispatch/migrations
parent083b6cb954eceffd5eee99a0e4eb78091138d481 (diff)
downloaddispatch-tracker-7e4586e4f9d1a00be0a546b490ebfd09d0b8b307.tar.gz
dispatch-tracker-7e4586e4f9d1a00be0a546b490ebfd09d0b8b307.tar.xz
Misc developments and messing with file uploads
Diffstat (limited to 'app/dispatch/migrations')
-rw-r--r--app/dispatch/migrations/0003_paperwork.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/app/dispatch/migrations/0003_paperwork.py b/app/dispatch/migrations/0003_paperwork.py
new file mode 100644
index 0000000..72c27d3
--- /dev/null
+++ b/app/dispatch/migrations/0003_paperwork.py
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.5 on 2017-10-11 16:15
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('dispatch', '0002_auto_20171010_0140'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Paperwork',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('description', models.CharField(max_length=256)),
+ ('document', models.FileField(upload_to='paperwork/')),
+ ('load', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='dispatch.Load')),
+ ],
+ ),
+ ]