From 13601150cc86f88aaf487fdaf7f3bdfbb7add79c Mon Sep 17 00:00:00 2001 From: "lucas.taia" Date: Fri, 24 Jun 2022 23:18:49 +0000 Subject: [PATCH] bug#24573 dev:lucas qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@112945 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20220621_1520__mantis24573.sql | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/db/migration/V20220621_1520__mantis24573.sql b/src/db/migration/V20220621_1520__mantis24573.sql index f83d0ba41..3fd5ac786 100644 --- a/src/db/migration/V20220621_1520__mantis24573.sql +++ b/src/db/migration/V20220621_1520__mantis24573.sql @@ -55,4 +55,23 @@ begin )'; exception when object_exists then null; end; -/ \ No newline at end of file +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CAJA ADD (NUM_MACON VARCHAR2(9))'; + exception when column_exists then null; +end; +/ + +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CAJA ADD (NUMSERIE_MACON VARCHAR2(4))'; + exception when column_exists then null; +end; +/ + +