From 8af71ad0932b0c297d8fdda03755f753b04c629d Mon Sep 17 00:00:00 2001 From: valdir Date: Fri, 7 Oct 2022 13:28:14 +0000 Subject: [PATCH] =?UTF-8?q?53616=20e=2055159=20-=20Espec=20Estorno=20de=20?= =?UTF-8?q?Transa=C3=A7=C3=A3o=20MobiPix=20bug#al-1331=20dev:=20qua:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@114645 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20221005_1649__al1331.sql | 6 ++++++ src/db/postgresql/migration/V20221005_1649__al1331.sql | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 src/db/migration/V20221005_1649__al1331.sql create mode 100644 src/db/postgresql/migration/V20221005_1649__al1331.sql diff --git a/src/db/migration/V20221005_1649__al1331.sql b/src/db/migration/V20221005_1649__al1331.sql new file mode 100644 index 000000000..599751890 --- /dev/null +++ b/src/db/migration/V20221005_1649__al1331.sql @@ -0,0 +1,6 @@ +declare +begin + execute immediate 'UPDATE CONSTANTE SET VALORCONSTANTE = ''/transactions/void'' where constante_id = (select constante_id from constante where nombconstante like ''MP05_PATH_ESTORNO_MOBIPIX'') '; + exception when others then null; +end; +/ \ No newline at end of file diff --git a/src/db/postgresql/migration/V20221005_1649__al1331.sql b/src/db/postgresql/migration/V20221005_1649__al1331.sql new file mode 100644 index 000000000..84ae43a38 --- /dev/null +++ b/src/db/postgresql/migration/V20221005_1649__al1331.sql @@ -0,0 +1,5 @@ +DO $$ +BEGIN + UPDATE CONSTANTE SET VALORCONSTANTE = '/transactions/void' where constante_id = (select constante_id from constante where nombconstante like 'MP05_PATH_ESTORNO_MOBIPIX'); +END +$$; \ No newline at end of file