fixes bug #10258 - Auditoria alterações

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@78931 d1611594-4594-4d17-8e1d-87c2c4800839
master
leonardo 2018-02-09 19:36:14 +00:00
parent 8c0c488ea1
commit 9d0f2e05ec
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE AUDIT_LOG DROP (ENTITY_DETAIL)';
exception when column_exists then null;
end;

View File

@ -0,0 +1,7 @@
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'ALTER TABLE AUDIT_LOG ADD (ENTITY_DETAIL CLOB)';
exception when object_exists then null;
end;