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
commit
4c871750ff
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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;
|
|
@ -0,0 +1,5 @@
|
|||
DO $$
|
||||
BEGIN
|
||||
ALTER TABLE PRICING_OCUPA_ANTECIPA MODIFY IMPORTE NUMBER(10,2);
|
||||
END
|
||||
$$;
|
Loading…
Reference in New Issue