Fix province value of addresses in Brussel's area (#568)

* Add municipalities of Brussels and remove province of addresses in Brussel

* Update changelog

* Add missing restart entry in Changelog

* Remove migrations creating municipalities of Brussels
This commit is contained in:
Claire Lovisa
2025-08-08 10:12:41 +02:00
committed by GitHub
parent 8e2dc898f5
commit 48e0c3b3ea
2 changed files with 40 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
- datafix: cleanup of general memberships if specific ones exist [OP-3640]
- datafix: cleanup of duplicate memberships [OP-3634]
- Fix KBO organizations' date formats [OP-3560]
- Remove province for addresses in the Brussels area [OP-3638] & [OP-3648]
### Deploy notes
```
@@ -20,6 +21,7 @@ drc restart db resource dispatcher
drc pull frontend; drc up -d frontend
drc restart migrations; drc logs -ft --tail=200 migrations
drc up -d kbo-data-sync
drc restart migrations-triggering-indexing; drc logs -ft --tail=200 migrations-triggering-indexing
```
The labels for new location resources created when setting the scope of operation for worship services are not necessarily alphabetically sorted. To correct this run the `correct-location-labels` project script using [mu-cli](https://github.com/mu-semtech/mu-cli) and restart the migrations service once more to execute the generated local migrations.

View File

@@ -0,0 +1,38 @@
DELETE {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?s <http://www.w3.org/ns/locn#adminUnitL2> ?province ;
<https://data.vlaanderen.be/ns/adres#adresIsGelegenIn> ?werkingsgebied .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
VALUES ?postCode {
"1070"
"1000"
"1020"
"1120"
"1130"
"1050"
"1040"
"1140"
"1083"
"1090"
"1081"
"1160"
"1030"
"1082"
"1060"
"1080"
"1210"
"1200"
"1150"
"1180"
"1190"
"1170"
}
?s a <http://www.w3.org/ns/locn#Address> ;
<http://www.w3.org/ns/locn#postCode> ?postCode ;
<http://www.w3.org/ns/locn#adminUnitL2> ?province ;
<https://data.vlaanderen.be/ns/adres#adresIsGelegenIn> ?werkingsgebied .
}
}