diff --git a/deploy/shared/db-server/import/record-manager-formgen/migration/action-history-from-default-to-separate-context.ru b/deploy/shared/db-server/import/record-manager-formgen/migration/action-history-from-default-to-separate-context.ru new file mode 100644 index 00000000..2c517d2f --- /dev/null +++ b/deploy/shared/db-server/import/record-manager-formgen/migration/action-history-from-default-to-separate-context.ru @@ -0,0 +1,20 @@ +PREFIX rm: + +DELETE { + ?a ?p ?o . +} +INSERT { + GRAPH rm:action-history { + ?a ?p ?o . + } +} +WHERE { + ?a ?p ?o . + ?a a rm:action-history . + + MINUS { + GRAPH ?g { + ?a ?p ?o . + } + } +}