Merge pull request 'AL-5017' (!207) from AL-5017 into master
Reviewed-on: utilidades/Flyway#207 Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>master
commit
59b17a566d
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.96.0</version>
|
||||
<version>1.97.0</version>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PARADA ADD LATITUDE NUMBER(10,8)';
|
||||
exception when column_exists then null;
|
||||
end;
|
||||
/
|
||||
declare
|
||||
column_exists exception;
|
||||
pragma exception_init (column_exists , -01430);
|
||||
begin
|
||||
execute immediate 'ALTER TABLE PARADA ADD LONGITUDE NUMBER(11,8)';
|
||||
exception when column_exists then null;
|
||||
end;
|
Loading…
Reference in New Issue