From 903b4de8626dd0d92c9db726248ebaaa17ce93ef Mon Sep 17 00:00:00 2001 From: "lucas.taia" Date: Tue, 3 Aug 2021 20:43:28 +0000 Subject: [PATCH] fixes bug#22864 dev:lucas qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@108159 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20210803_1720__mantis22864.sql | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/db/migration/V20210803_1720__mantis22864.sql diff --git a/src/db/migration/V20210803_1720__mantis22864.sql b/src/db/migration/V20210803_1720__mantis22864.sql new file mode 100644 index 000000000..1a7842f02 --- /dev/null +++ b/src/db/migration/V20210803_1720__mantis22864.sql @@ -0,0 +1,31 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO MODIFY (TIEMPOACTIVAR NUMBER(7, 0) )'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO MODIFY (TIEMPODESACTIVAR NUMBER(7, 0) )'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO MODIFY (TIEMPOACTIVAR2 NUMBER(7, 0) )'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO MODIFY (TIEMPODESACTIVAR2 NUMBER(7, 0) )'; + exception when column_exists then null; +end;