From 83138f2f8636797670f12b4c68029a9f3e407e0f Mon Sep 17 00:00:00 2001 From: valdevir Date: Fri, 31 Mar 2023 02:58:58 -0300 Subject: [PATCH] fixes bug #AL-2441 --- pom.xml | 2 +- src/db/migration/V20230331_1755__AL-2441.sql | 7 +++++++ src/db/postgresql/migration/V20230331_1755__AL-2441.sql | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20230331_1755__AL-2441.sql create mode 100644 src/db/postgresql/migration/V20230331_1755__AL-2441.sql diff --git a/pom.xml b/pom.xml index 86f2c1f98..24b2d254e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.0.29 + 1.0.30 diff --git a/src/db/migration/V20230331_1755__AL-2441.sql b/src/db/migration/V20230331_1755__AL-2441.sql new file mode 100644 index 000000000..4d24ac75d --- /dev/null +++ b/src/db/migration/V20230331_1755__AL-2441.sql @@ -0,0 +1,7 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'UPDATE constante set valorconstante = ''suporte.rjconsultores@totvs.com.br'' where nombconstante = ''EMAIL_SUPORTE_RJCONSULTORES'''; + exception when dup_val_on_index then null; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20230331_1755__AL-2441.sql b/src/db/postgresql/migration/V20230331_1755__AL-2441.sql new file mode 100644 index 000000000..4d24ac75d --- /dev/null +++ b/src/db/postgresql/migration/V20230331_1755__AL-2441.sql @@ -0,0 +1,7 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'UPDATE constante set valorconstante = ''suporte.rjconsultores@totvs.com.br'' where nombconstante = ''EMAIL_SUPORTE_RJCONSULTORES'''; + exception when dup_val_on_index then null; +end; \ No newline at end of file