From 9a8101c703fa65c41606d6575549ca77d357e8f2 Mon Sep 17 00:00:00 2001 From: "lucas.taia" Date: Tue, 15 Dec 2020 19:09:19 +0000 Subject: [PATCH] bug#166 dev:lucas qua: merge scripts antigos branch pricing gestao git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@104743 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20201215_1515__jira166.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/db/migration/V20201215_1515__jira166.sql diff --git a/src/db/migration/V20201215_1515__jira166.sql b/src/db/migration/V20201215_1515__jira166.sql new file mode 100644 index 000000000..d8fd417f2 --- /dev/null +++ b/src/db/migration/V20201215_1515__jira166.sql @@ -0,0 +1,15 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -00957); +begin + execute immediate 'ALTER TABLE GP_PRICING_IMPORTE RENAME COLUMN DESCUENTOPORCENTAJEVOLTA TO DESCUENTOIMPORTEVOLTA'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -00957); +begin + execute immediate 'ALTER TABLE GP_PRICING_IMPORTE RENAME COLUMN DESCUENTOPORCREDONDO TO DESCUENTOIMPORTEREDONDO'; + exception when column_exists then null; +end; \ No newline at end of file