From 57f7513631ebe648a3bed1d413ccff3585cd588f Mon Sep 17 00:00:00 2001 From: valdir Date: Wed, 13 Oct 2021 12:59:14 +0000 Subject: [PATCH] 0022773: Espec - Conta Corrente SVI bug#22773 dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@109063 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20210909_1038__mantis22773.sql | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/db/migration/V20210909_1038__mantis22773.sql b/src/db/migration/V20210909_1038__mantis22773.sql index 5a6b87d46..79946d945 100644 --- a/src/db/migration/V20210909_1038__mantis22773.sql +++ b/src/db/migration/V20210909_1038__mantis22773.sql @@ -2,7 +2,15 @@ declare column_exists exception; pragma exception_init (column_exists , -01430); begin - execute immediate 'ALTER TABLE BOLETO ADD (TAXA_CONVENIENCIA_SVI NUMBER(7,2), PUNTO_VENTA_ID_SVI NUMBER(7,0))'; + execute immediate 'ALTER TABLE BOLETO ADD (TAXA_CONVENIENCIA_SVI NUMBER(7,2))'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BOLETO ADD (PUNTO_VENTA_ID_SVI NUMBER(7,0))'; exception when column_exists then null; end; /