From d3b683ca3e488a5407c6b0bd1182fe2499cceea8 Mon Sep 17 00:00:00 2001 From: himeshr Date: Wed, 18 Dec 2024 13:35:36 +0530 Subject: [PATCH] avniproject/avni-server#813 | Use small case batch_job_execution_params table name --- .../migration/V1_347_1__SpringBatchSchemaUpgradeTo5.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/avni-server-api/src/main/resources/db/migration/V1_347_1__SpringBatchSchemaUpgradeTo5.sql b/avni-server-api/src/main/resources/db/migration/V1_347_1__SpringBatchSchemaUpgradeTo5.sql index ea1c135e2..c291b177c 100644 --- a/avni-server-api/src/main/resources/db/migration/V1_347_1__SpringBatchSchemaUpgradeTo5.sql +++ b/avni-server-api/src/main/resources/db/migration/V1_347_1__SpringBatchSchemaUpgradeTo5.sql @@ -5,16 +5,16 @@ $$ (SELECT 1 FROM information_schema.tables WHERE table_schema = 'public' - AND table_name = 'BATCH_JOB_EXECUTION_PARAMS' + AND table_name = 'batch_job_execution_params' ) THEN - UPDATE BATCH_JOB_EXECUTION_PARAMS bjep + UPDATE batch_job_execution_params bjep set string_val = long_val::text where type_cd = 'LONG'; - UPDATE BATCH_JOB_EXECUTION_PARAMS bjep + UPDATE batch_job_execution_params bjep set string_val = date_val::text where type_cd = 'DATE'; - UPDATE BATCH_JOB_EXECUTION_PARAMS bjep + UPDATE batch_job_execution_params bjep set string_val = double_val::text where type_cd = 'DOUBLE'; END IF;