Merge pull request 'security' (!78) from security into master

Reviewed-on: utilidades/Flyway#78
master
gleimar 2023-11-16 13:28:31 +00:00
commit 190cdd30d9
2 changed files with 14 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.18.0</version>
<version>1.19.0</version>
<distributionManagement>
<repository>

View File

@ -0,0 +1,13 @@
declare
object_exists exception;
except_00957 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_00957 , -00957);
begin
execute immediate 'ALTER TABLE EMPRESA ADD (LICENCA VARCHAR(500))';
exception
when object_exists then null;
when except_00957 then null;
end;
/