diff --git a/src/db/migration/V20170906_1140__mantis9716.sql b/src/db/migration/V20170906_1140__mantis9716.sql new file mode 100644 index 000000000..e6c382fbe --- /dev/null +++ b/src/db/migration/V20170906_1140__mantis9716.sql @@ -0,0 +1,7 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'Insert into MOTIVO_CANCELACION (MOTIVOCANCELACION_ID,DESCMOTIVO,TIPOMOTIVO,EQUIVALENCIAELEKTRA_ID,EQUIVALENCIA_ID,ACTIVO,FECMODIF,USUARIO_ID,TXTRELATORIO) values (90,''BOLETO CANC. AUTOMATICAMENTE'',''B'',null,null,''1'',sysdate,''1'',null)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file