diff --git a/pom.xml b/pom.xml index 86f2c1f98..24b2d254e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.0.29 + 1.0.30 diff --git a/src/db/migration/V20230331_1755__AL-2441.sql b/src/db/migration/V20230331_1755__AL-2441.sql new file mode 100644 index 000000000..4d24ac75d --- /dev/null +++ b/src/db/migration/V20230331_1755__AL-2441.sql @@ -0,0 +1,7 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'UPDATE constante set valorconstante = ''suporte.rjconsultores@totvs.com.br'' where nombconstante = ''EMAIL_SUPORTE_RJCONSULTORES'''; + exception when dup_val_on_index then null; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20230331_1755__AL-2441.sql b/src/db/postgresql/migration/V20230331_1755__AL-2441.sql new file mode 100644 index 000000000..4d24ac75d --- /dev/null +++ b/src/db/postgresql/migration/V20230331_1755__AL-2441.sql @@ -0,0 +1,7 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'UPDATE constante set valorconstante = ''suporte.rjconsultores@totvs.com.br'' where nombconstante = ''EMAIL_SUPORTE_RJCONSULTORES'''; + exception when dup_val_on_index then null; +end; \ No newline at end of file