From 04f01f8302ae6073c9e50d1e2d1048b83cbd4329 Mon Sep 17 00:00:00 2001 From: Riad Abdallah Date: Thu, 12 Dec 2024 17:42:26 +0100 Subject: [PATCH 1/3] Set AGB Stekene's org status to `Niet-Actief` --- .../20241212174128-archive-agb-stekene.sparql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 config/migrations/2024/20241212174128-archive-agb-stekene.sparql diff --git a/config/migrations/2024/20241212174128-archive-agb-stekene.sparql b/config/migrations/2024/20241212174128-archive-agb-stekene.sparql new file mode 100644 index 0000000..96884b0 --- /dev/null +++ b/config/migrations/2024/20241212174128-archive-agb-stekene.sparql @@ -0,0 +1,15 @@ +DELETE { + GRAPH ?g { + ?orgStatus . + } +} +INSERT { + GRAPH ?g { + . # "Niet-Actief" Status + } +} +WHERE { + GRAPH ?g { + ?orgStatus . + } +} From 1f7a754eb971f7f55070786c58b59d2b02b54194 Mon Sep 17 00:00:00 2001 From: felix Date: Fri, 3 Jan 2025 12:17:42 +0100 Subject: [PATCH 2/3] Remove comment migration, so we can use the mu-auth version to migrate the file --- .../migrations/2024/20241212174128-archive-agb-stekene.sparql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/migrations/2024/20241212174128-archive-agb-stekene.sparql b/config/migrations/2024/20241212174128-archive-agb-stekene.sparql index 96884b0..53798d4 100644 --- a/config/migrations/2024/20241212174128-archive-agb-stekene.sparql +++ b/config/migrations/2024/20241212174128-archive-agb-stekene.sparql @@ -5,7 +5,7 @@ DELETE { } INSERT { GRAPH ?g { - . # "Niet-Actief" Status + . } } WHERE { From 945faf87612e7b52ab6b7882cf997f825768d80a Mon Sep 17 00:00:00 2001 From: felix Date: Fri, 3 Jan 2025 12:20:15 +0100 Subject: [PATCH 3/3] move migrations to trigger-re-index-migration Don't forget to `drc restart migrations-triggering-indexing` --- .../2024/20241212174128-archive-agb-stekene.sparql | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename config/{migrations => migrations-triggering-indexing}/2024/20241212174128-archive-agb-stekene.sparql (100%) diff --git a/config/migrations/2024/20241212174128-archive-agb-stekene.sparql b/config/migrations-triggering-indexing/2024/20241212174128-archive-agb-stekene.sparql similarity index 100% rename from config/migrations/2024/20241212174128-archive-agb-stekene.sparql rename to config/migrations-triggering-indexing/2024/20241212174128-archive-agb-stekene.sparql