From 54839dabd5aa7bca59cf075fc2df5f164378817a Mon Sep 17 00:00:00 2001 From: Fernando Abimael Alvarez Uc Date: Fri, 30 Aug 2024 12:44:48 -0600 Subject: [PATCH] Se actualiza longitud de campo DESCTRAYECTO en tabla TRAYECTOS_EXPRESOS. Fixes bug#AL-4549 --- pom.xml | 2 +- src/db/migration/V20240830_1237__AL-4549.sql | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20240830_1237__AL-4549.sql diff --git a/pom.xml b/pom.xml index 0a70e49da..6a31216d9 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.89.0 + 1.89.1 diff --git a/src/db/migration/V20240830_1237__AL-4549.sql b/src/db/migration/V20240830_1237__AL-4549.sql new file mode 100644 index 000000000..e5388bcd2 --- /dev/null +++ b/src/db/migration/V20240830_1237__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 TRAYECTOS_EXPRESOS MODIFY DESCTRAYECTO VARCHAR2(100 BYTE)'; + exception + when object_exists then null; + when except_00957 then null; +end; \ No newline at end of file