diff --git a/src/db/migration/V20200114_1320__jira206.sql b/src/db/migration/V20200114_1320__jira206.sql new file mode 100644 index 000000000..ea2d7485a --- /dev/null +++ b/src/db/migration/V20200114_1320__jira206.sql @@ -0,0 +1,59 @@ +declare + object_exists exception; + except_00957 exception; + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE GP_PRICING_ASIENTO ADD (VALORADICIONALPRICING NUMBER(5,2) )'; + exception + when object_exists then null; + when except_00957 then null; +end; +/ +declare + object_exists exception; + except_00957 exception; + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE GP_PRICING ADD (HORAANTECIPA DATE )'; + exception + when object_exists then null; + when except_00957 then null; +end; +/ +declare + object_exists exception; + except_00957 exception; + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE GP_PRICING ADD (VALORADICIONALPRICING NUMBER(5,2) )'; + exception + when object_exists then null; + when except_00957 then null; +end; +/ +declare + object_exists exception; + except_00957 exception; + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE GP_PRICING ADD (PORCADICIONALPRICING NUMBER(5,2) )'; + exception + when object_exists then null; + when except_00957 then null; +end; +/ +declare + object_exists exception; + except_00957 exception; + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE GP_PRICING ADD (REDONDEO NUMBER(1) )'; + exception + when object_exists then null; + when except_00957 then null; +end; \ No newline at end of file