From f76c16fa2f940d8f9434d013abc44665a071b577 Mon Sep 17 00:00:00 2001 From: alberto Date: Mon, 24 Sep 2018 21:24:51 +0000 Subject: [PATCH] Gravar registros de alias nas tabelas de boleto e caja bug#11837 dev:trevezani qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@85606 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20180924_1820__mantis11837.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/db/migration/V20180924_1820__mantis11837.sql diff --git a/src/db/migration/V20180924_1820__mantis11837.sql b/src/db/migration/V20180924_1820__mantis11837.sql new file mode 100644 index 000000000..3ce22607b --- /dev/null +++ b/src/db/migration/V20180924_1820__mantis11837.sql @@ -0,0 +1,17 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate + 'ALTER TABLE BOLETO ADD (ORIGENA_ID NUMBER(7),DESTINOA_ID NUMBER(7))'; + exception when object_exists then null; +end; +/ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate + 'ALTER TABLE CAJA ADD (ORIGENA_ID NUMBER(7),DESTINOA_ID NUMBER(7))'; + exception when object_exists then null; +end;