From 388ae9bcda6b7109cbb4a7dc8851ec7fdea6fbc2 Mon Sep 17 00:00:00 2001 From: "lucas.taia" Date: Mon, 27 Dec 2021 21:31:50 +0000 Subject: [PATCH] bug#23833 dev:lucas qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@110131 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20211227_1823__mantis23833.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/db/migration/V20211227_1823__mantis23833.sql diff --git a/src/db/migration/V20211227_1823__mantis23833.sql b/src/db/migration/V20211227_1823__mantis23833.sql new file mode 100644 index 000000000..eb1e44443 --- /dev/null +++ b/src/db/migration/V20211227_1823__mantis23833.sql @@ -0,0 +1,16 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BOLETO ADD (REVENUE_ID NUMBER(15))'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CAJA ADD (REVENUE_ID NUMBER(15))'; + exception when column_exists then null; +end; +/ \ No newline at end of file