-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replacing auto_now_add with default, Census/GSA with CENSUS/GSAFAC * support model updates * Updated file per MJ * Recreate migrations * Migrations for model change * Using timezone.now * Formatted with black * Tested GSAFAC assignments * Updated default for CognizantBaseline * Updated migrations * Changes requested in PR review * CognizantBaeline help text migrations
- Loading branch information
Showing
1 changed file
with
81 additions
and
0 deletions.
There are no files selected for viewing
81 changes: 81 additions & 0 deletions
81
backend/support/migrations/0005_alter_cognizantbaseline_cognizant_agency_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# Generated by Django 4.2.5 on 2023-10-13 19:54 | ||
|
||
from django.db import migrations, models | ||
import django.utils.timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("support", "0004_alter_cognizantbaseline_date_assigned_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="cognizantbaseline", | ||
name="cognizant_agency", | ||
field=models.CharField( | ||
help_text="Two digit Federal agency prefix of the cognizant agency", | ||
max_length=2, | ||
verbose_name="Cog Agency", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="cognizantbaseline", | ||
name="date_assigned", | ||
field=models.DateTimeField( | ||
default=django.utils.timezone.now, | ||
help_text="Time when the cog agency was assigned to the entity", | ||
null=True, | ||
verbose_name="Date Assigned", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="cognizantbaseline", | ||
name="dbkey", | ||
field=models.CharField( | ||
help_text="Identifier for a submission along with audit_year in Census FAC", | ||
max_length=20, | ||
null=True, | ||
verbose_name="dbkey", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="cognizantbaseline", | ||
name="ein", | ||
field=models.CharField( | ||
help_text="Primary Employer Identification Number", | ||
max_length=30, | ||
null=True, | ||
verbose_name="EIN", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="cognizantbaseline", | ||
name="is_active", | ||
field=models.BooleanField( | ||
default=True, | ||
help_text="Record to be ignored if this field is False", | ||
verbose_name="Active", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="cognizantbaseline", | ||
name="source", | ||
field=models.CharField( | ||
default="GSAFAC", | ||
help_text="Source of cognizant data", | ||
max_length=10, | ||
verbose_name="Source", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="cognizantbaseline", | ||
name="uei", | ||
field=models.CharField( | ||
help_text="Unique Employer Identification Number", | ||
max_length=30, | ||
null=True, | ||
verbose_name="UEI", | ||
), | ||
), | ||
] |