Skip to content

Commit

Permalink
add large number of fields to the new manifest model
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham4401 committed Apr 19, 2024
1 parent 1fc953a commit a500f9c
Show file tree
Hide file tree
Showing 3 changed files with 405 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
# Generated by Django 5.0.4 on 2024-04-19 20:59

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('handler', '0002_initial'),
('manif', '0001_initial'),
]

operations = [
migrations.AddField(
model_name='manifest2',
name='broker',
field=models.JSONField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='certified_by',
field=models.JSONField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='certified_date',
field=models.DateTimeField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='contains_residue_or_rejection',
field=models.BooleanField(blank=True, null=True, verbose_name='contains previous rejection or residue waste'),
),
migrations.AddField(
model_name='manifest2',
name='correction_info',
field=models.JSONField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='created_date',
field=models.DateTimeField(auto_now=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='discrepancy',
field=models.BooleanField(blank=True, default=False),
),
migrations.AddField(
model_name='manifest2',
name='form_document',
field=models.JSONField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='generator',
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.PROTECT, related_name='gen', to='handler.handler'),
preserve_default=False,
),
migrations.AddField(
model_name='manifest2',
name='import_flag',
field=models.BooleanField(blank=True, default=False, verbose_name='import'),
),
migrations.AddField(
model_name='manifest2',
name='import_info',
field=models.JSONField(blank=True, null=True, verbose_name='import information'),
),
migrations.AddField(
model_name='manifest2',
name='lock_reason',
field=models.CharField(blank=True, choices=[('ACS', 'AsyncSign'), ('ECB', 'EpaChangeBiller'), ('EPC', 'EpaCorrection')], max_length=25, null=True),
),
migrations.AddField(
model_name='manifest2',
name='locked',
field=models.BooleanField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='next_transfer_time',
field=models.DateTimeField(blank=True, null=True, verbose_name='next transfer time'),
),
migrations.AddField(
model_name='manifest2',
name='origin_type',
field=models.CharField(choices=[('Web', 'Web'), ('Service', 'Service'), ('Mail', 'Mail')], default='Service', max_length=25),
),
migrations.AddField(
model_name='manifest2',
name='original_sub_type',
field=models.CharField(blank=True, choices=[('FullElectronic', 'Full Electronic'), ('DataImage5Copy', 'Data + Image'), ('Hybrid', 'Hybrid'), ('Image', 'Image')], max_length=25, null=True, verbose_name='original submission type'),
),
migrations.AddField(
model_name='manifest2',
name='potential_ship_date',
field=models.DateTimeField(blank=True, null=True, verbose_name='potential ship date'),
),
migrations.AddField(
model_name='manifest2',
name='ppc_status',
field=models.JSONField(blank=True, null=True, verbose_name='PPC info'),
),
migrations.AddField(
model_name='manifest2',
name='printed_document',
field=models.JSONField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='received_date',
field=models.DateTimeField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='rejection',
field=models.BooleanField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='rejection_info',
field=models.JSONField(blank=True, null=True, verbose_name='Rejection Information'),
),
migrations.AddField(
model_name='manifest2',
name='residue',
field=models.BooleanField(blank=True, default=False),
),
migrations.AddField(
model_name='manifest2',
name='residue_new_mtn',
field=models.JSONField(blank=True, default=list, verbose_name='residue new MTN'),
),
migrations.AddField(
model_name='manifest2',
name='shipped_date',
field=models.DateTimeField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='signature_status',
field=models.BooleanField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='status',
field=models.CharField(choices=[('NotAssigned', 'Not Assigned'), ('Pending', 'Pending'), ('Scheduled', 'Scheduled'), ('InTransit', 'In Transit'), ('ReadyForSignature', 'Ready for Signature'), ('Signed', 'Signed'), ('Corrected', 'Corrected'), ('UnderCorrection', 'Under Correction'), ('MtnValidationFailed', 'MTN Validation Failed')], default='NotAssigned', max_length=25),
),
migrations.AddField(
model_name='manifest2',
name='submission_type',
field=models.CharField(choices=[('FullElectronic', 'Full Electronic'), ('DataImage5Copy', 'Data + Image'), ('Hybrid', 'Hybrid'), ('Image', 'Image')], default='FullElectronic', max_length=25),
),
migrations.AddField(
model_name='manifest2',
name='transfer_count',
field=models.IntegerField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='transfer_requested',
field=models.BooleanField(blank=True, null=True),
),
migrations.AddField(
model_name='manifest2',
name='transfer_status',
field=models.CharField(blank=True, max_length=200, null=True),
),
migrations.AddField(
model_name='manifest2',
name='tsdf',
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.PROTECT, related_name='des', to='handler.handler', verbose_name='designated facility'),
preserve_default=False,
),
migrations.AddField(
model_name='manifest2',
name='update_date',
field=models.DateTimeField(auto_now=True),
),
]
Loading

0 comments on commit a500f9c

Please sign in to comment.