From 59988aeb1a95ef303978e07fbe7e51fe25631fa7 Mon Sep 17 00:00:00 2001 From: aristides Date: Mon, 10 Oct 2022 21:03:16 +0000 Subject: [PATCH] fixes bug#al-1430 qua: dev:Valdevir git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@114671 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20221010_1140__AL1430.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/db/migration/V20221010_1140__AL1430.sql diff --git a/src/db/migration/V20221010_1140__AL1430.sql b/src/db/migration/V20221010_1140__AL1430.sql new file mode 100644 index 000000000..ddf4d2a42 --- /dev/null +++ b/src/db/migration/V20221010_1140__AL1430.sql @@ -0,0 +1,15 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE TARIFA_OFICIAL ADD (COMPOSICAO_DO_PEAJE VARCHAR(100))'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE TARIFA ADD (COMPOSICAO_DO_PEAJE VARCHAR(100))'; + exception when column_exists then null; +end; \ No newline at end of file