AdmMono/src/db/postgresql/migration/V20230303_1423__AL2074.sql

7 lines
219 B
SQL

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