diff --git a/src/db/migration/V20220915_1100__jiraAL1379.sql b/src/db/migration/V20220915_1100__jiraAL1379.sql new file mode 100644 index 000000000..3f4b6daff --- /dev/null +++ b/src/db/migration/V20220915_1100__jiraAL1379.sql @@ -0,0 +1,23 @@ +declare + object_exists exception; + except_00957 exception; + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE CAJA RENAME COLUMN SEQUENCIAROD TO SEQUENCIARODTAXACURITIBA'; + 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 BOLETO RENAME COLUMN SEQUENCIAROD TO SEQUENCIARODTAXACURITIBA'; + exception + when object_exists then null; + when except_00957 then null; +end; \ No newline at end of file