AL-4273 nova tela comprovante de passagem
parent
4da310459d
commit
ceebe82501
2
pom.xml
2
pom.xml
|
@ -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.60.0</version>
|
<version>1.61.0</version>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
declare
|
||||||
|
table_exists exception;
|
||||||
|
pragma exception_init (table_exists , -00955);
|
||||||
|
begin
|
||||||
|
execute immediate
|
||||||
|
'CREATE TABLE EMPRESA_COMPPASSAGEM_CONFIG (
|
||||||
|
EMPRESACOMPPASSAGEMCONFIG_ID NUMBER(7) NOT NULL,
|
||||||
|
EMPRESA_ID NUMBER(7,0),
|
||||||
|
CHAVE VARCHAR2(100) NULL,
|
||||||
|
VALOR VARCHAR2(150) NULL,
|
||||||
|
ACTIVO NUMBER(1),
|
||||||
|
FECMODIF DATE,
|
||||||
|
USUARIO_ID NUMBER(7),
|
||||||
|
PRIMARY KEY ( EMPRESACOMPPASSAGEMCONFIG_ID )
|
||||||
|
)';
|
||||||
|
|
||||||
|
exception when table_exists then null;
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
pragma exception_init (object_exists , -00955);
|
||||||
|
begin
|
||||||
|
execute immediate 'CREATE SEQUENCE "EMPRESA_COMPPASSAG_CONFIG_SEQ" INCREMENT BY 1 START WITH 1 NOCACHE ORDER NOCYCLE';
|
||||||
|
exception when object_exists then null;
|
||||||
|
end;
|
||||||
|
/
|
Loading…
Reference in New Issue