Melhorias no controle da versão que gerou o MD

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@78054 d1611594-4594-4d17-8e1d-87c2c4800839
master
alberto 2018-01-16 13:43:49 +00:00
parent 179c63ab0a
commit acdf0d8df7
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE MD_TOTALIZADOR ADD VERSAO NUMBER(8)';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE MD_RESUMO_ECF ADD VERSAO NUMBER(8)';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE MD_DOCUMENTO ADD VERSAO NUMBER(8)';
exception when column_exists then null;
end;