diff options
| author | Mitch Riedstra <Mitch@riedstra.us> | 2017-10-13 13:29:52 -0400 |
|---|---|---|
| committer | Mitch Riedstra <Mitch@riedstra.us> | 2017-10-13 13:29:52 -0400 |
| commit | 6f465f28cd681c3fd9418f9edd7e91ec238ffbb2 (patch) | |
| tree | 83a1cdac2a0d1ba892a190ff5cd037e8ddbf2dc7 /app/dispatch/migrations/0003_paperwork.py | |
| parent | 6fd0dd3c9cc397cf6b498854bd10cbc2eb8c73d7 (diff) | |
| download | dispatch-tracker-6f465f28cd681c3fd9418f9edd7e91ec238ffbb2.tar.gz dispatch-tracker-6f465f28cd681c3fd9418f9edd7e91ec238ffbb2.tar.xz | |
Updated migrations, removed comments, and changed the model from one to one to foreign key to allow for multiple documents per load
Diffstat (limited to 'app/dispatch/migrations/0003_paperwork.py')
| -rw-r--r-- | app/dispatch/migrations/0003_paperwork.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/app/dispatch/migrations/0003_paperwork.py b/app/dispatch/migrations/0003_paperwork.py deleted file mode 100644 index 72c27d3..0000000 --- a/app/dispatch/migrations/0003_paperwork.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- 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')), - ], - ), - ] |
