Merge branch 'master' into AL-1627

master
lucas.taia 2023-01-03 16:52:23 -03:00
commit dd3e725f8b
4 changed files with 16 additions and 8 deletions

View File

@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<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.0.12</version> <version>1.0.12</version>
<distributionManagement> <distributionManagement>

View File

@ -1,7 +0,0 @@
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'ALTER TABLE EVENTO_EXTRA ADD NUMERO_CONTROLE VARCHAR2(300)';
exception when object_exists then null;
end;

View File

@ -0,0 +1,15 @@
declare
object_exists exception;
except_01451 exception;
except_01442 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_01451 , -01451);
pragma exception_init (except_01442 , -01442);
begin
execute immediate 'ALTER TABLE EVENTO_EXTRA ADD NUMERO_CONTROLE VARCHAR2(300)';
exception
when object_exists then null;
when except_01451 then null;
when except_01442 then null;
end;