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
Wilian Domingues 2024-09-27 19:25:12 +00:00
commit 59b17a566d
2 changed files with 16 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.96.0</version>
<version>1.97.0</version>
<distributionManagement>
<repository>

View File

@ -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;