Merge pull request 'fixes bug#AL-2525' (!38) from AL-2525 into master

Reviewed-on: http://18.235.188.113:3000/utilidades/Flyway/pulls/38
Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>
master
Lucas Taiã 2023-05-12 21:39:37 +00:00
commit fbb7aa1217
2 changed files with 17 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.1</version> <version>1.3.2</version>
<distributionManagement> <distributionManagement>
<repository> <repository>

View File

@ -0,0 +1,16 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE EMPRESA_ADYEN_CONFIG ADD (MERCHANTACCOUNTADYEN VARCHAR2(200) )';
exception when column_exists then null;
end;
/
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE PUNTO_VENTA ADD (MERCHANTSTOREADYEN VARCHAR2(200) )';
exception when column_exists then null;
end;
/