AdmMono/src/db/migration/V20180502_1554__mantis11034...

17 lines
479 B
SQL

declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE EVENTO_EXTRA ADD (INTEGRADOTOTVS NUMBER(1,0))';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE TIPO_EVENTO_EXTRA ADD (INTEGRADOTOTVS NUMBER(1,0))';
exception when column_exists then null;
end;
/