From 9af967eb2776481f545e63df803e7504ef8a0231 Mon Sep 17 00:00:00 2001 From: "valdir.cordeiro" Date: Thu, 28 Sep 2023 17:43:36 -0300 Subject: [PATCH] bug#al-3082 ANDORINHA - Espec_10_-_Inclusao_Horario_Inicio_e_Fim_de_Embarque_no_Bilhete_1 dev: qua: --- pom.xml | 2 +- src/db/migration/V20230926_1049__AL3082.sql | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20230926_1049__AL3082.sql diff --git a/pom.xml b/pom.xml index 543a2fad7..a9aaefb27 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.12.0 + 1.13.0 diff --git a/src/db/migration/V20230926_1049__AL3082.sql b/src/db/migration/V20230926_1049__AL3082.sql new file mode 100644 index 000000000..2d4c7eac2 --- /dev/null +++ b/src/db/migration/V20230926_1049__AL3082.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA ADD (HORAINICIOEMBARQUE DATE, HORAFIMEMBARQUE DATE)'; + exception when column_exists then null; +end;