aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/migrations/0003_auto_20170628_1610.py
diff options
context:
space:
mode:
authorMitch Riedstra <Mitch@riedstra.us>2017-10-09 15:04:39 -0400
committerMitch Riedstra <Mitch@riedstra.us>2017-10-09 15:04:39 -0400
commit0957977a439d0ca8f33cf6b3c7f2457b0bbf7cd6 (patch)
treeafcc1bb42d72e34cb64e9564d68be4576e33e24c /app/dispatch/migrations/0003_auto_20170628_1610.py
parent9f0a825ba66a37428efb178e2c6753c1373e9774 (diff)
downloaddispatch-tracker-0957977a439d0ca8f33cf6b3c7f2457b0bbf7cd6.tar.gz
dispatch-tracker-0957977a439d0ca8f33cf6b3c7f2457b0bbf7cd6.tar.xz
Delete all of the old migrations, remove redundant contact model and add a script for adding fake data
Diffstat (limited to 'app/dispatch/migrations/0003_auto_20170628_1610.py')
-rw-r--r--app/dispatch/migrations/0003_auto_20170628_1610.py47
1 files changed, 0 insertions, 47 deletions
diff --git a/app/dispatch/migrations/0003_auto_20170628_1610.py b/app/dispatch/migrations/0003_auto_20170628_1610.py
deleted file mode 100644
index 839555a..0000000
--- a/app/dispatch/migrations/0003_auto_20170628_1610.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.11.1 on 2017-06-28 16:10
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dispatch', '0002_auto_20170628_1516'),
- ]
-
- operations = [
- migrations.CreateModel(
- name='Company',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('name', models.CharField(max_length=256)),
- ('address', models.CharField(max_length=256)),
- ('phone_number', models.DecimalField(decimal_places=0, max_digits=16)),
- ('email_address', models.CharField(max_length=256)),
- ],
- ),
- migrations.CreateModel(
- name='Contact',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('first_name', models.CharField(max_length=64)),
- ('last_name', models.CharField(max_length=64)),
- ('phone_number', models.DecimalField(decimal_places=0, max_digits=16)),
- ('email_address', models.CharField(max_length=256)),
- ('the_company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='dispatch.Company')),
- ],
- ),
- migrations.AlterField(
- model_name='load',
- name='company',
- field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='dispatch.Company'),
- ),
- migrations.AddField(
- model_name='company',
- name='primary_contact',
- field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='dispatch.Contact'),
- ),
- ]