AdmMono/src/db/postgresql/migration/V20181022_1725__mantis12468...

7 lines
224 B
SQL

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