aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/migrations/0003_paperwork.py
blob: 72c27d390b4336e0f9c11de2d4fb9e7b5a604ab2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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')),
            ],
        ),
    ]