From 6f465f28cd681c3fd9418f9edd7e91ec238ffbb2 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Fri, 13 Oct 2017 13:29:52 -0400 Subject: Updated migrations, removed comments, and changed the model from one to one to foreign key to allow for multiple documents per load --- app/dispatch/migrations/0003_paperwork.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 app/dispatch/migrations/0003_paperwork.py (limited to 'app/dispatch/migrations/0003_paperwork.py') 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')), - ], - ), - ] -- cgit v1.2.3