Merge pull request 'bug#al-2761' (!46) from AL-2761 into master

Reviewed-on: utilidades/Flyway#46
Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>
Reviewed-by: Wilian Domingues <wilian@rjconsultores.com.br>
master
Valdir Cordeiro 2023-06-13 13:14:23 +00:00
commit 4c871750ff
3 changed files with 18 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>Flyway</artifactId>
<version>1.4.0</version>
<version>1.4.1</version>
<distributionManagement>
<repository>

View File

@ -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_OCUPA_ANTECIPA MODIFY IMPORTE NUMBER(10,2)';
exception
when object_exists then null;
when except_00957 then null;
end;

View File

@ -0,0 +1,5 @@
DO $$
BEGIN
ALTER TABLE PRICING_OCUPA_ANTECIPA MODIFY IMPORTE NUMBER(10,2);
END
$$;