Skip to content

Commit 1a91aaf

Browse files
committed
DBC22-6922: update border crossing hours links to new CBSA directory
1 parent e11aeb2 commit 1a91aaf

2 files changed

Lines changed: 21 additions & 4 deletions

File tree

src/backend/apps/border/fixtures/border_data.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"modified_at": "2025-03-04T23:26:14.135Z",
88
"name": "Peace Arch",
99
"location": "SRID=4326;POINT (-122.755215373302 49.0004903332751)",
10-
"schedule_url": "https://cbsa-asfc.gc.ca/do-rb/offices-bureaux/405-eng.html"
10+
"schedule_url": "https://do-rb.cbsa-asfc.cloud-nuage.canada.ca/?lang=en_CA&id=405"
1111
}
1212
},
1313
{
@@ -18,7 +18,7 @@
1818
"modified_at": "2025-03-04T23:26:14.182Z",
1919
"name": "Pacific Highway",
2020
"location": "SRID=4326;POINT (-122.735322148821 49.0040969132511)",
21-
"schedule_url": "https://cbsa-asfc.gc.ca/do-rb/offices-bureaux/398-eng.html"
21+
"schedule_url": "https://do-rb.cbsa-asfc.cloud-nuage.canada.ca/?lang=en_CA&id=398"
2222
}
2323
},
2424
{
@@ -29,7 +29,7 @@
2929
"modified_at": "2025-03-04T23:26:14.187Z",
3030
"name": "Lynden/Aldergrove",
3131
"location": "SRID=4326;POINT (-122.485026353147 49.0004223841645)",
32-
"schedule_url": "https://cbsa-asfc.gc.ca/do-rb/offices-bureaux/408-eng.html"
32+
"schedule_url": "https://do-rb.cbsa-asfc.cloud-nuage.canada.ca/?lang=en_CA&id=408"
3333
}
3434
},
3535
{
@@ -40,7 +40,7 @@
4040
"modified_at": "2025-03-04T23:26:14.190Z",
4141
"name": "Sumas/Huntingdon",
4242
"location": "SRID=4326;POINT (-122.265219 49.004678)",
43-
"schedule_url": "https://cbsa-asfc.gc.ca/do-rb/offices-bureaux/404-eng.html"
43+
"schedule_url": "https://do-rb.cbsa-asfc.cloud-nuage.canada.ca/?lang=en_CA&id=404"
4444
}
4545
},
4646
{
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from django.core.management import call_command
2+
from django.db import migrations
3+
4+
5+
def load_fixture(apps, schema_editor):
6+
call_command('loaddata', 'border_data.json')
7+
8+
9+
class Migration(migrations.Migration):
10+
11+
dependencies = [
12+
('border', '0002_bordercrossing_schedule_url'),
13+
]
14+
15+
operations = [
16+
migrations.RunPython(load_fixture, migrations.RunPython.noop),
17+
]

0 commit comments

Comments
 (0)