diff --git a/src/db/migration/V20160929_2027__mantis8030.sql b/src/db/migration/V20160929_2027__mantis8030.sql new file mode 100644 index 000000000..8ab28958d --- /dev/null +++ b/src/db/migration/V20160929_2027__mantis8030.sql @@ -0,0 +1,11 @@ +declare +col_count integer; +begin + select count(*) + into col_count from FORMA_PAGO + where FORMAPAGO_ID = 35; + if col_count = 0 then + Insert into FORMA_PAGO (FORMAPAGO_ID,DESCPAGO,EQUIVALENCIA_ID,ACTIVO,FECMODIF,USUARIO_ID,INDOPERACION,CVEPAGO,IMPFISCAL,INDCONFERENCIAFISICACOMISSAO) values ('35','GERACAO OCD',null,'1',sysdate,'1',null,'GO',null,'0'); + commit; + end if; +end; \ No newline at end of file