From 7e19cdc472e118bf8c471a2d54ab268ecc868be4 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Sat, 26 Oct 2024 03:19:45 +0100 Subject: [PATCH] build: add conflate to enums in case for future --- src/backend/migrations/007-rename-task-history.sql | 4 +++- src/backend/migrations/init/fmtm_base_schema.sql | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/backend/migrations/007-rename-task-history.sql b/src/backend/migrations/007-rename-task-history.sql index 222ae30b07..e118672f77 100644 --- a/src/backend/migrations/007-rename-task-history.sql +++ b/src/backend/migrations/007-rename-task-history.sql @@ -22,6 +22,7 @@ BEGIN 'VALIDATE', 'GOOD', 'BAD', + 'CONFLATE', 'SPLIT', 'MERGE', 'ASSIGN', @@ -52,7 +53,8 @@ BEGIN 'LOCKED_FOR_MAPPING', 'UNLOCKED_TO_VALIDATE', 'LOCKED_FOR_VALIDATION', - 'UNLOCKED_DONE' + 'UNLOCKED_DONE', + 'CONFLATED' ); END IF; END $$; diff --git a/src/backend/migrations/init/fmtm_base_schema.sql b/src/backend/migrations/init/fmtm_base_schema.sql index e1b4230824..8121ab0729 100644 --- a/src/backend/migrations/init/fmtm_base_schema.sql +++ b/src/backend/migrations/init/fmtm_base_schema.sql @@ -125,6 +125,7 @@ CREATE TYPE public.taskevent AS ENUM ( 'VALIDATE', 'GOOD', 'BAD', + 'CONFLATE', 'SPLIT', 'MERGE', 'ASSIGN', @@ -137,7 +138,8 @@ CREATE TYPE public.mappingstate AS ENUM ( 'LOCKED_FOR_MAPPING', 'UNLOCKED_TO_VALIDATE', 'LOCKED_FOR_VALIDATION', - 'UNLOCKED_DONE' + 'UNLOCKED_DONE', + 'CONFLATED' ); ALTER TYPE public.mappingstate OWNER TO fmtm;