diff --git a/pom.xml b/pom.xml
index 4b52e6ea1..2b4738ece 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
br.com.rjconsultores
Flyway
- 1.81.1
+ 1.81.2
diff --git a/src/db/migration/V20240725_1321__AL-4655.sql b/src/db/migration/V20240725_1321__AL-4655.sql
new file mode 100644
index 000000000..507b3858a
--- /dev/null
+++ b/src/db/migration/V20240725_1321__AL-4655.sql
@@ -0,0 +1,13 @@
+declare
+ dup_val_on_index exception;
+ except_02291 exception;
+
+ pragma exception_init (dup_val_on_index , -00001);
+ pragma exception_init (except_02291 , -02291);
+begin
+ execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
+ (FUNCION_SISTEMA_SEQ.NEXTVAL,1,''ADM > CATALOGO > TIPODOCUMENTO'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.CATALOGO.MENU.TIPODOCUMENTO'',1,SYSDATE,-1)';
+ exception
+ when dup_val_on_index then null;
+ when except_02291 then null;
+end;
\ No newline at end of file
diff --git a/src/db/migration/V20240812_1600__AL-4655.sql b/src/db/migration/V20240812_1600__AL-4655.sql
new file mode 100644
index 000000000..d4f041b98
--- /dev/null
+++ b/src/db/migration/V20240812_1600__AL-4655.sql
@@ -0,0 +1,37 @@
+declare
+ object_exists exception;
+ except_01451 exception;
+ except_01442 exception;
+
+ pragma exception_init (object_exists , -01430);
+ pragma exception_init (except_01451 , -01451);
+ pragma exception_init (except_01442 , -01442);
+begin
+ execute immediate 'ALTER TABLE TIPO_IDENTIFICACION ADD INDEXIBECONFIRMACAOTOTALBUS NUMBER(1,0)';
+ exception
+ when object_exists then null;
+ when except_01451 then null;
+ when except_01442 then null;
+end;
+/
+declare
+ object_exists exception;
+ pragma exception_init (object_exists , -00955);
+begin
+ execute immediate
+ 'CREATE SEQUENCE "TIPO_IDENTIFICACION_SEQ" MINVALUE 1 MAXVALUE 9999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE';
+ exception when object_exists then null;
+end;
+/
+declare
+ dup_val_on_index exception;
+ except_02291 exception;
+
+ pragma exception_init (dup_val_on_index , -00001);
+ pragma exception_init (except_02291 , -02291);
+begin
+ execute immediate 'UPDATE TIPO_IDENTIFICACION SET INDEXIBECONFIRMACAOTOTALBUS = 1';
+ exception
+ when dup_val_on_index then null;
+ when except_02291 then null;
+end;
\ No newline at end of file