From e5e4caf4e60c15557360f83e298b2283d91f37fe Mon Sep 17 00:00:00 2001 From: thiago Date: Tue, 4 Feb 2020 17:39:16 +0000 Subject: [PATCH] fixes bug#16003 dev:Wilian qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@100029 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20200130_1610__mantis18026.sql | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/db/migration/V20200130_1610__mantis18026.sql diff --git a/src/db/migration/V20200130_1610__mantis18026.sql b/src/db/migration/V20200130_1610__mantis18026.sql new file mode 100644 index 000000000..d3baf3578 --- /dev/null +++ b/src/db/migration/V20200130_1610__mantis18026.sql @@ -0,0 +1,19 @@ +declare + object_exists exception; + except_01451 exception; + except_01442 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_01451 , -01451); + pragma exception_init (except_01442 , -01442); +begin + execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD (TEMPOLIBERACAODEPOISKM DATE, + TEMPOLIBERACAOATEKM DATE, + KMVENDAANTECIPADA NUMBER(5,0), + INDVENDAANTECIPADAPORKM NUMBER(1,0) +)'; + exception + when object_exists then null; + when except_01451 then null; + when except_01442 then null; +end; \ No newline at end of file