From 17fccbdf89236fb72d5da04c1d7a7294a8944ec2 Mon Sep 17 00:00:00 2001 From: Fernando Abimael Alvarez Uc Date: Wed, 28 Aug 2024 10:18:08 -0600 Subject: [PATCH] Fixes bug#AL-4549 --- pom.xml | 2 +- src/db/migration/V20240828_1008__AL-4549.sql | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20240828_1008__AL-4549.sql diff --git a/pom.xml b/pom.xml index acca05bfd..b501c199d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.88.0 + 1.88.1 diff --git a/src/db/migration/V20240828_1008__AL-4549.sql b/src/db/migration/V20240828_1008__AL-4549.sql new file mode 100644 index 000000000..6c5d68857 --- /dev/null +++ b/src/db/migration/V20240828_1008__AL-4549.sql @@ -0,0 +1,12 @@ +declare + object_exists exception; + except_00957 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE SOLICITUD_EXPRESO RENAME COLUMN ORMAPAGO_ID TO FORMAPAGO_ID'; + exception + when object_exists then null; + when except_00957 then null; +end; \ No newline at end of file