From cdb62707a2928466ba1e7acc174c73fa59684cf9 Mon Sep 17 00:00:00 2001 From: "valdir.cordeiro" Date: Fri, 21 Jul 2023 14:44:57 -0300 Subject: [PATCH] =?UTF-8?q?bug#al-2980=20=C3=81guia=20Branca=20-=20GLPI=20?= =?UTF-8?q?65710=20[PROJETO]=20-=20PRICING=20CONEXAO=20-=20ERRO=20AO=20GRA?= =?UTF-8?q?VAR=20PRICING=20COM=20CONEXAO=20ASSOCIADA=20EM=20HMG=20dev:=20q?= =?UTF-8?q?ua:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aumentando o tamanho do campo pricing_id da tabela PRICING_CONEXAO --- pom.xml | 2 +- src/db/migration/V20230721_1438__AL2980.sql | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20230721_1438__AL2980.sql diff --git a/pom.xml b/pom.xml index 247ef9e06..d7535d362 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.6.0 + 1.6.1 diff --git a/src/db/migration/V20230721_1438__AL2980.sql b/src/db/migration/V20230721_1438__AL2980.sql new file mode 100644 index 000000000..1aed8092f --- /dev/null +++ b/src/db/migration/V20230721_1438__AL2980.sql @@ -0,0 +1,12 @@ +declare + object_exists exception; + except_00957 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE PRICING_CONEXAO MODIFY PRICING_ID NUMBER(15,0)'; + exception + when object_exists then null; + when except_00957 then null; +end; \ No newline at end of file