Merge pull request 'bug#AL-1757' (#7) from AL-1757 into master
Reviewed-on: http://18.235.188.113:3000/utilidades/Flyway/pulls/7 Reviewed-by: Gleison da Cruz <gleison.cruz@totvs.com.br> Reviewed-by: pinheiro <valdevir@rjconsultores.com.br>master
commit
bf67201b8f
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.0.8</version>
|
<version>1.0.9</version>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE EMPRESA ADD (INDVENDEBILHETESEMELHANTE NUMBER(1,0) )';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue