From 63e427333e063ece7a29f3beb4d03a202843f71f Mon Sep 17 00:00:00 2001 From: Joseph Makara Date: Mon, 29 Mar 2021 11:55:37 +0300 Subject: [PATCH] Fix Duplicate entry whilst issue (FINERACT-854) --- .../core_db/V365__reportCategoryList-FINERACT-1306.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fineract-provider/src/main/resources/sql/migrations/core_db/V365__reportCategoryList-FINERACT-1306.sql b/fineract-provider/src/main/resources/sql/migrations/core_db/V365__reportCategoryList-FINERACT-1306.sql index 23253a341..794ab210e 100644 --- a/fineract-provider/src/main/resources/sql/migrations/core_db/V365__reportCategoryList-FINERACT-1306.sql +++ b/fineract-provider/src/main/resources/sql/migrations/core_db/V365__reportCategoryList-FINERACT-1306.sql @@ -19,9 +19,9 @@ -- two tables added: ReportCategoryList and FullReportList (FINERACT-1306) INSERT INTO stretchy_report (report_name, report_type, report_category, report_sql, description, core_report, use_report) -SELECT "ReportCategoryList", 'Table', '(NULL)', '(NULL)', '(NULL)', 1, 1 +SELECT 'ReportCategoryList', 'Table', NULL, NULL, NULL, 1, 1 ON DUPLICATE key UPDATE report_name = 'ReportCategoryList'; INSERT INTO stretchy_report (report_name, report_type, report_category, report_sql, description, core_report, use_report) -SELECT "FullReportList", 'Table', '(NULL)', '(NULL)', '(NULL)', 1, 1 +SELECT 'FullReportList', 'Table', NULL, NULL, NULL, 1, 1 ON DUPLICATE key UPDATE report_name = 'FullReportList';