From 58f40db54af977f7206e0bcec8e0eab17ceed546 Mon Sep 17 00:00:00 2001 From: fabio Date: Fri, 5 Nov 2021 12:46:54 +0000 Subject: [PATCH] bug#23090 dev: Celio qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@109489 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20211029_1548__mantis23090.sql | 12 ++++++++++++ .../migration/V20211029_1548__mantis23090.sql | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/src/db/migration/V20211029_1548__mantis23090.sql b/src/db/migration/V20211029_1548__mantis23090.sql index 4c28ae8b9..193d66e6c 100644 --- a/src/db/migration/V20211029_1548__mantis23090.sql +++ b/src/db/migration/V20211029_1548__mantis23090.sql @@ -25,52 +25,64 @@ end; declare object_exists exception; except_00957 exception; + except_01451 exception; pragma exception_init (object_exists , -01430); pragma exception_init (except_00957 , -00957); + pragma exception_init (except_01451 , -01451); begin execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (CELL_PHONE_NUMBER NULL)'; exception when object_exists then null; when except_00957 then null; + when except_01451 then null; end; / declare object_exists exception; except_00957 exception; + except_01451 exception; pragma exception_init (object_exists , -01430); pragma exception_init (except_00957 , -00957); + pragma exception_init (except_01451 , -01451); begin execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (NSU NULL)'; exception when object_exists then null; when except_00957 then null; + when except_01451 then null; end; / declare object_exists exception; except_00957 exception; + except_01451 exception; pragma exception_init (object_exists , -01430); pragma exception_init (except_00957 , -00957); + pragma exception_init (except_01451 , -01451); begin execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (AUTHORIZATION_CODE NULL)'; exception when object_exists then null; when except_00957 then null; + when except_01451 then null; end; / declare object_exists exception; except_00957 exception; + except_01451 exception; pragma exception_init (object_exists , -01430); pragma exception_init (except_00957 , -00957); + pragma exception_init (except_01451 , -01451); begin execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (FACE_AMOUNT NULL)'; exception when object_exists then null; when except_00957 then null; + when except_01451 then null; end; / \ No newline at end of file diff --git a/src/db/postgresql/migration/V20211029_1548__mantis23090.sql b/src/db/postgresql/migration/V20211029_1548__mantis23090.sql index 4c28ae8b9..193d66e6c 100644 --- a/src/db/postgresql/migration/V20211029_1548__mantis23090.sql +++ b/src/db/postgresql/migration/V20211029_1548__mantis23090.sql @@ -25,52 +25,64 @@ end; declare object_exists exception; except_00957 exception; + except_01451 exception; pragma exception_init (object_exists , -01430); pragma exception_init (except_00957 , -00957); + pragma exception_init (except_01451 , -01451); begin execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (CELL_PHONE_NUMBER NULL)'; exception when object_exists then null; when except_00957 then null; + when except_01451 then null; end; / declare object_exists exception; except_00957 exception; + except_01451 exception; pragma exception_init (object_exists , -01430); pragma exception_init (except_00957 , -00957); + pragma exception_init (except_01451 , -01451); begin execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (NSU NULL)'; exception when object_exists then null; when except_00957 then null; + when except_01451 then null; end; / declare object_exists exception; except_00957 exception; + except_01451 exception; pragma exception_init (object_exists , -01430); pragma exception_init (except_00957 , -00957); + pragma exception_init (except_01451 , -01451); begin execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (AUTHORIZATION_CODE NULL)'; exception when object_exists then null; when except_00957 then null; + when except_01451 then null; end; / declare object_exists exception; except_00957 exception; + except_01451 exception; pragma exception_init (object_exists , -01430); pragma exception_init (except_00957 , -00957); + pragma exception_init (except_01451 , -01451); begin execute immediate 'ALTER TABLE RECARGA_CELULAR MODIFY (FACE_AMOUNT NULL)'; exception when object_exists then null; when except_00957 then null; + when except_01451 then null; end; / \ No newline at end of file