Merge pull request 'fixes bug#AL_2302' (!40) from AL_2302 into master

Reviewed-on: http://18.235.188.113:3000/utilidades/Flyway/pulls/40
Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>
Reviewed-by: Wilian Domingues <wilian@rjconsultores.com.br>
master
Wilian Domingues 2023-05-16 18:34:50 +00:00
commit af05044576
3 changed files with 15 additions and 1 deletions

View File

@ -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.3.3</version> <version>1.3.4</version>
<distributionManagement> <distributionManagement>
<repository> <repository>

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CLASE_SERVICIO ADD (PORCPRICINGSEMELHANTE NUMBER(7,2))';
exception when column_exists then null;
end;

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE CLASE_SERVICIO ADD (PORCPRICINGSEMELHANTE NUMBER(5,2))';
exception when column_exists then null;
end;