From 2989b80d1e02258dc8de14e71e3b481a11ff5189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Mon, 18 Nov 2024 09:12:35 +0000 Subject: [PATCH] adr: Change `application` to `submissions` --- .../decisions/0009-single-application-audit-table.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/architecture/decisions/0009-single-application-audit-table.md b/doc/architecture/decisions/0009-single-application-audit-table.md index f699dc2512..964d7446d2 100644 --- a/doc/architecture/decisions/0009-single-application-audit-table.md +++ b/doc/architecture/decisions/0009-single-application-audit-table.md @@ -19,7 +19,7 @@ These tables: ## Decision -We propose to consolidate all integration application audit tables into a single `applications` table with the following key changes: +We propose to consolidate all integration application audit tables into a single `submissions` table with the following key changes: 1. Replace integration-specific ID columns with a standardised `external_reference_id` column (TEXT) - This will store the identifier returned by the integration partner @@ -35,7 +35,7 @@ We propose to consolidate all integration application audit tables into a single - Update `submissions_services_log` and `submissions_services_summary` view - Delete or archive old table -4. Update data retention operations to sanitise new `applications` table +4. Update data retention operations to sanitise new `submissions` table ## Consequences @@ -63,7 +63,7 @@ We propose to consolidate all integration application audit tables into a single 2. Current use of existing `submission_` views - Frontend code and models may need to be updated - Metabase queries may need to be updated - - We can mitigate this by planning to keep the existing structure of the views, but simplify their sources to read from a single `applications` table instead of multiple `x_applications` tables + - We can mitigate this by planning to keep the existing structure of the views, but simplify their sources to read from a single `submissions` table instead of multiple `x_applications` tables ### Questions