Cadastro de convenio transportadora feat bug#AL-4346

master
Fabio 2024-07-18 11:17:32 -03:00
parent c565bd732b
commit 163ef2f7eb
3 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>Flyway</artifactId>
<version>1.71.0</version>
<version>1.72.0</version>
<distributionManagement>
<repository>

View File

@ -2,7 +2,7 @@ declare
object_exists exception;
pragma exception_init (object_exists , -00955);
begin
execute immediate 'CREATE TABLE CONVENIO_TRANSPORT (
execute immediate 'CREATE TABLE CONVENIO_TRANSPORTADORA (
CONVENIOTRANSPORTADORA_ID NUMBER(7,0) PRIMARY KEY,
TRANSPORTADORA_ID NUMBER(7,0),
NOME_CONVENIO VARCHAR2(150),

View File

@ -24,4 +24,5 @@ declare
begin
execute immediate 'CREATE SEQUENCE "TARIFA_CONVENIO_TRANSP_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE';
exception when object_exists then null;
end;
end;
/