From 6ece22f6fc587733e149932f8a0b08b391c1d610 Mon Sep 17 00:00:00 2001 From: wilian Date: Tue, 22 Sep 2020 17:42:00 +0000 Subject: [PATCH] fixes bug#20466 dev:valdir qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@103407 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20200922_1050__mantis20466.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/db/migration/V20200922_1050__mantis20466.sql diff --git a/src/db/migration/V20200922_1050__mantis20466.sql b/src/db/migration/V20200922_1050__mantis20466.sql new file mode 100644 index 000000000..587719009 --- /dev/null +++ b/src/db/migration/V20200922_1050__mantis20466.sql @@ -0,0 +1,12 @@ +declare + object_exists exception; + except_00957 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE CLASE_SERVICIO MODIFY TIPOSERVICOBPE NUMBER(2)'; + exception + when object_exists then null; + when except_00957 then null; +end; \ No newline at end of file