From f1d2f196fd553974bc55f0ce02aa7e6a34c4ffd8 Mon Sep 17 00:00:00 2001 From: "luis.espina" Date: Thu, 1 Aug 2024 09:07:56 -0400 Subject: [PATCH] bug#AL-4454 Bolivariano - Regla de Redondeo dev: Aurora qua: --- src/db/migration/V20240705_1528__AL-4454.sql | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/db/migration/V20240705_1528__AL-4454.sql b/src/db/migration/V20240705_1528__AL-4454.sql index 093ff30fe..51ddc9667 100644 --- a/src/db/migration/V20240705_1528__AL-4454.sql +++ b/src/db/migration/V20240705_1528__AL-4454.sql @@ -2,11 +2,10 @@ declare column_exists exception; pragma exception_init (column_exists , -01430); begin - execute immediate 'ALTER TABLE redondeo MODIFY (valorinicial NUMBER(7, 2), - valorfinal NUMBER(7, 2), - valorredondeo NUMBER(7, 2) -)'; - exception when column_exists then null; + execute immediate 'ALTER TABLE redondeo MODIFY valorinicial NUMBER(7, 2)'; + execute immediate 'ALTER TABLE redondeo MODIFY valorfinal NUMBER(7, 2)'; + execute immediate 'ALTER TABLE redondeo MODIFY valorredondeo NUMBER(7, 2)'; + exception when column_exists then null; end; / declare