-
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.
Added import service for ARC data, Created regions table for future m…
…apping functionality, created region checker function to validate region strings, updated backend to account for data structure changes (#376)
- Loading branch information
1 parent
5ab244a
commit 8913558
Showing
10 changed files
with
308 additions
and
74 deletions.
There are no files selected for viewing
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
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
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,112 @@ | ||
# Generated by Django 3.2.25 on 2024-07-26 21:18 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api', '0031_auto_20240712_2036'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='arcprojecttracking', | ||
old_name='arc_funding', | ||
new_name='funds_disbursed', | ||
), | ||
migrations.RenameField( | ||
model_name='arcprojecttracking', | ||
old_name='funds_issued', | ||
new_name='jobs', | ||
), | ||
migrations.RenameField( | ||
model_name='arcprojecttracking', | ||
old_name='on_road_off_road', | ||
new_name='notes', | ||
), | ||
migrations.AddField( | ||
model_name='arcprojecttracking', | ||
name='complete_or_termination_date', | ||
field=models.DateField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='arcprojecttracking', | ||
name='economic_region', | ||
field=models.CharField(default='Across BC', max_length=250), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name='arcprojecttracking', | ||
name='funds_commited', | ||
field=models.IntegerField(default=0), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name='arcprojecttracking', | ||
name='remaining_disbursed', | ||
field=models.IntegerField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='arcprojecttracking', | ||
name='retrofit', | ||
field=models.CharField(blank=True, max_length=250, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='arcprojecttracking', | ||
name='vehicle_category', | ||
field=models.CharField(default='A', max_length=250), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name='arcprojecttracking', | ||
name='completion_date', | ||
field=models.DateField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='arcprojecttracking', | ||
name='funding_call', | ||
field=models.CharField(default='a', max_length=50), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name='arcprojecttracking', | ||
name='primary_location', | ||
field=models.CharField(default='BC', max_length=250), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name='arcprojecttracking', | ||
name='project_title', | ||
field=models.CharField(default='Title', max_length=500), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name='arcprojecttracking', | ||
name='proponent', | ||
field=models.CharField(default='test', max_length=500), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name='arcprojecttracking', | ||
name='publicly_announced', | ||
field=models.CharField(blank=True, max_length=250, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='arcprojecttracking', | ||
name='reference_number', | ||
field=models.CharField(default=0, max_length=50), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name='arcprojecttracking', | ||
name='start_date', | ||
field=models.DateField(blank=True, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='arcprojecttracking', | ||
name='status', | ||
field=models.CharField(default='Valid', max_length=250), | ||
preserve_default=False, | ||
), | ||
] |
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,27 @@ | ||
# Generated by Django 3.2.25 on 2024-07-31 17:42 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api', '0032_auto_20240726_2118'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='Regions', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('create_timestamp', models.DateTimeField(auto_now_add=True, null=True)), | ||
('create_user', models.CharField(default='SYSTEM', max_length=130)), | ||
('update_timestamp', models.DateTimeField(auto_now=True, null=True)), | ||
('update_user', models.CharField(max_length=130, null=True)), | ||
('name', models.CharField(max_length=250)), | ||
], | ||
options={ | ||
'db_table': 'regions', | ||
}, | ||
), | ||
] |
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
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
Oops, something went wrong.