diff --git a/pom.xml b/pom.xml index 5bb1db9a5..bbd61429b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.103.1 + 1.103.2 diff --git a/src/db/migration/V20241028_1712__AL-5135.sql b/src/db/migration/V20241028_1712__AL-5135.sql new file mode 100644 index 000000000..27716bf73 --- /dev/null +++ b/src/db/migration/V20241028_1712__AL-5135.sql @@ -0,0 +1,12 @@ +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 status_solicitud_expreso values (1,''SOLICITADA'', 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/V20241028_1714__AL-5135.sql b/src/db/migration/V20241028_1714__AL-5135.sql new file mode 100644 index 000000000..5d60d210f --- /dev/null +++ b/src/db/migration/V20241028_1714__AL-5135.sql @@ -0,0 +1,12 @@ +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 status_solicitud_expreso values (2,''COTIZACION_ENVIADA'', 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/V20241028_1716__AL-5135.sql b/src/db/migration/V20241028_1716__AL-5135.sql new file mode 100644 index 000000000..5d2b3963d --- /dev/null +++ b/src/db/migration/V20241028_1716__AL-5135.sql @@ -0,0 +1,12 @@ +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 status_solicitud_expreso values (3,''AUTORIZADA'', 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/V20241028_1718__AL-5135.sql b/src/db/migration/V20241028_1718__AL-5135.sql new file mode 100644 index 000000000..bb351c515 --- /dev/null +++ b/src/db/migration/V20241028_1718__AL-5135.sql @@ -0,0 +1,12 @@ +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 status_solicitud_expreso values (4,''RECHAZADA'', 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/V20241028_1720__AL-5135.sql b/src/db/migration/V20241028_1720__AL-5135.sql new file mode 100644 index 000000000..689d2ef35 --- /dev/null +++ b/src/db/migration/V20241028_1720__AL-5135.sql @@ -0,0 +1,12 @@ +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 status_solicitud_expreso values (5,''CUMPLIDO'', 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/V20241028_1722__AL-5135.sql b/src/db/migration/V20241028_1722__AL-5135.sql new file mode 100644 index 000000000..f459d5ad2 --- /dev/null +++ b/src/db/migration/V20241028_1722__AL-5135.sql @@ -0,0 +1,12 @@ +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 status_solicitud_expreso values (6,''PROGRAMADO'', 1, sysdate, 1)'; + exception + when dup_val_on_index then null; + when except_02291 then null; +end; \ No newline at end of file