From 46ddff1a43292cd654e7e0d59f2405a00b5316b3 Mon Sep 17 00:00:00 2001 From: JanardhanBS-SyncByte Date: Tue, 11 Jun 2024 15:18:27 +0530 Subject: [PATCH] [Java21] Signed-off-by: JanardhanBS-SyncByte --- db_scripts/mosip_prereg/ddl/batch_job_execution.sql | 4 +--- db_scripts/mosip_prereg/ddl/batch_job_execution_context.sql | 4 +--- db_scripts/mosip_prereg/ddl/batch_job_execution_param.sql | 4 +--- db_scripts/mosip_prereg/ddl/batch_step_execution.sql | 4 +--- db_scripts/mosip_prereg/ddl/batch_step_execution_context.sql | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/db_scripts/mosip_prereg/ddl/batch_job_execution.sql b/db_scripts/mosip_prereg/ddl/batch_job_execution.sql index 129ab151d8..59f5959227 100644 --- a/db_scripts/mosip_prereg/ddl/batch_job_execution.sql +++ b/db_scripts/mosip_prereg/ddl/batch_job_execution.sql @@ -11,9 +11,7 @@ CREATE TABLE prereg.batch_job_execution STATUS VARCHAR(10) , EXIT_CODE VARCHAR(2500) , EXIT_MESSAGE VARCHAR(2500) , - LAST_UPDATED TIMESTAMP, - constraint JOB_INST_EXEC_FK foreign key (JOB_INSTANCE_ID) - references prereg.BATCH_JOB_INSTANCE(JOB_INSTANCE_ID) + LAST_UPDATED TIMESTAMP ) WITH ( OIDS = FALSE diff --git a/db_scripts/mosip_prereg/ddl/batch_job_execution_context.sql b/db_scripts/mosip_prereg/ddl/batch_job_execution_context.sql index 94f12e49c9..87d488840f 100644 --- a/db_scripts/mosip_prereg/ddl/batch_job_execution_context.sql +++ b/db_scripts/mosip_prereg/ddl/batch_job_execution_context.sql @@ -4,9 +4,7 @@ CREATE TABLE prereg.batch_job_execution_context ( JOB_EXECUTION_ID BIGINT NOT NULL PRIMARY KEY, SHORT_CONTEXT VARCHAR(2500) NOT NULL, - SERIALIZED_CONTEXT TEXT , - constraint JOB_EXEC_CTX_FK foreign key (JOB_EXECUTION_ID) - references prereg.BATCH_JOB_EXECUTION(JOB_EXECUTION_ID) + SERIALIZED_CONTEXT TEXT ) WITH ( OIDS = FALSE diff --git a/db_scripts/mosip_prereg/ddl/batch_job_execution_param.sql b/db_scripts/mosip_prereg/ddl/batch_job_execution_param.sql index b1415a2e97..b77af86e3c 100644 --- a/db_scripts/mosip_prereg/ddl/batch_job_execution_param.sql +++ b/db_scripts/mosip_prereg/ddl/batch_job_execution_param.sql @@ -6,9 +6,7 @@ CREATE TABLE prereg.batch_job_execution_params PARAMETER_NAME VARCHAR(100) NOT NULL , PARAMETER_TYPE VARCHAR(100) NOT NULL , PARAMETER_VALUE VARCHAR(2500) , - IDENTIFYING CHAR(1) NOT NULL , - constraint JOB_EXEC_PARAMS_FK foreign key (JOB_EXECUTION_ID) - references prereg.BATCH_JOB_EXECUTION(JOB_EXECUTION_ID) + IDENTIFYING CHAR(1) NOT NULL ) WITH ( OIDS = FALSE diff --git a/db_scripts/mosip_prereg/ddl/batch_step_execution.sql b/db_scripts/mosip_prereg/ddl/batch_step_execution.sql index 5729a2f3e7..88a9e4c32b 100644 --- a/db_scripts/mosip_prereg/ddl/batch_step_execution.sql +++ b/db_scripts/mosip_prereg/ddl/batch_step_execution.sql @@ -20,9 +20,7 @@ CREATE TABLE prereg.batch_step_execution ROLLBACK_COUNT BIGINT , EXIT_CODE VARCHAR(2500) , EXIT_MESSAGE VARCHAR(2500) , - LAST_UPDATED TIMESTAMP, - constraint JOB_EXEC_STEP_FK foreign key (JOB_EXECUTION_ID) - references prereg.BATCH_JOB_EXECUTION(JOB_EXECUTION_ID) + LAST_UPDATED TIMESTAMP ) WITH ( OIDS = FALSE diff --git a/db_scripts/mosip_prereg/ddl/batch_step_execution_context.sql b/db_scripts/mosip_prereg/ddl/batch_step_execution_context.sql index 225165164f..99cbe46c75 100644 --- a/db_scripts/mosip_prereg/ddl/batch_step_execution_context.sql +++ b/db_scripts/mosip_prereg/ddl/batch_step_execution_context.sql @@ -4,9 +4,7 @@ CREATE TABLE prereg.batch_step_execution_context ( STEP_EXECUTION_ID BIGINT NOT NULL PRIMARY KEY, SHORT_CONTEXT VARCHAR(2500) NOT NULL, - SERIALIZED_CONTEXT TEXT , - constraint STEP_EXEC_CTX_FK foreign key (STEP_EXECUTION_ID) - references prereg.BATCH_STEP_EXECUTION(STEP_EXECUTION_ID) + SERIALIZED_CONTEXT TEXT ) WITH ( OIDS = FALSE