From f3815e5308b2da5978e76a329bcc2b1aab89bdac Mon Sep 17 00:00:00 2001 From: "valdir.cordeiro" Date: Fri, 27 Oct 2023 10:36:11 -0300 Subject: [PATCH] =?UTF-8?q?bug#al-3150=20JCA=20-=20Espec=20Inativar=20Serv?= =?UTF-8?q?i=C3=A7os=20dev:=20qua:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20231024_1547__AL3150.sql | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20231024_1547__AL3150.sql diff --git a/pom.xml b/pom.xml index f745c5130..a9e04541c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.14.1 + 1.15.0 diff --git a/src/db/migration/V20231024_1547__AL3150.sql b/src/db/migration/V20231024_1547__AL3150.sql new file mode 100644 index 000000000..3f41f585e --- /dev/null +++ b/src/db/migration/V20231024_1547__AL3150.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE ESQUEMA_CORRIDA ADD INDCORRIDADESATIVADA NUMERIC(1)'; + exception when column_exists then null; +end;