Merge pull request 'fixes #AL-2782' (!61) from AL-2782 into master

Reviewed-on: http://18.235.188.113:3000/utilidades/Flyway/pulls/61
Reviewed-by: Gleison da Cruz <gleison.cruz@totvs.com.br>
master
pinheiro 2023-08-18 23:23:50 +00:00
commit d2a913c35a
2 changed files with 8 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.7.0</version> <version>1.8.0</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 PRICING ADD (INDEXIBEPOPUPPRICINGPOL NUMBER(1))';
exception when column_exists then null;
end;