Merge pull request 'bug#al-2980' (!53) from AL2980 into master

Reviewed-on: utilidades/Flyway#53
Reviewed-by: pinheiro <valdevir@rjconsultores.com.br>
master
Valdir Cordeiro 2023-07-21 17:47:50 +00:00
commit bdb4b91f21
2 changed files with 13 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.6.0</version> <version>1.6.1</version>
<distributionManagement> <distributionManagement>
<repository> <repository>

View File

@ -0,0 +1,12 @@
declare
object_exists exception;
except_00957 exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (except_00957 , -00957);
begin
execute immediate 'ALTER TABLE PRICING_CONEXAO MODIFY PRICING_ID NUMBER(15,0)';
exception
when object_exists then null;
when except_00957 then null;
end;