parent
464f5c1f23
commit
e0ef974ad6
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>Flyway</artifactId>
|
<artifactId>Flyway</artifactId>
|
||||||
<version>1.101.0</version>
|
<version>1.102.0</version>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
except_02275 exception;
|
||||||
|
except_02270 exception;
|
||||||
|
except_02261 exception;
|
||||||
|
|
||||||
|
pragma exception_init (object_exists , -01430);
|
||||||
|
pragma exception_init (except_02275 , -02275);
|
||||||
|
pragma exception_init (except_02270 , -02270);
|
||||||
|
pragma exception_init (except_02261 , -02261);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE EMPRESA ADD INDIMPRIMECONFABERTONBPE NUMBER(1,0)';
|
||||||
|
exception
|
||||||
|
when object_exists then null;
|
||||||
|
when except_02275 then null;
|
||||||
|
when except_02270 then null;
|
||||||
|
when except_02261 then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue