diff --git a/pom.xml b/pom.xml
index 31aefc906..22ce61b81 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
br.com.rjconsultores
Flyway
- 1.16.0
+ 1.17.0
diff --git a/src/db/migration/V2023_0914__AL-3254.sql b/src/db/migration/V2023_0914__AL-3254.sql
new file mode 100644
index 000000000..cdda490dd
--- /dev/null
+++ b/src/db/migration/V2023_0914__AL-3254.sql
@@ -0,0 +1,28 @@
+declare
+ object_exists exception;
+ pragma exception_init (object_exists , -00955);
+begin
+ execute immediate 'CREATE TABLE HEADER_ESQUEMA_CORRIDA
+ (
+ "HEADERESQUEMACORRIDA_ID" NUMBER(7,0) NOT NULL ENABLE,
+ "SEQUENCIA_HEADER" VARCHAR2(50 BYTE) )
+ ';
+ exception when object_exists then null;
+end;
+/
+declare
+ object_exists exception;
+ pragma exception_init (object_exists , -00955);
+begin
+ execute immediate 'CREATE SEQUENCE "HEADER_ESQUEMA_CORRIDA_SEQ" MINVALUE 1 MAXVALUE 999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE';
+ exception when object_exists then null;
+end;
+/
+declare
+ dup_val_on_index exception;
+ pragma exception_init (dup_val_on_index , -00001);
+begin
+ execute immediate 'Insert into HEADER_ESQUEMA_CORRIDA (HEADERESQUEMACORRIDA_ID, SEQUENCIA_HEADER)
+ values (1,''1,2,3,4,5,6,7,8,9,10,11,12,13,14,15'')';
+ exception when dup_val_on_index then null;
+end;
\ No newline at end of file