Adição do cadastro de Alias de classe bug#AL-3857
parent
f404ea16ac
commit
ca4beabf65
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.44.0</version>
|
<version>1.45.0</version>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
pragma exception_init (object_exists , -00955);
|
||||||
|
begin
|
||||||
|
execute immediate 'CREATE TABLE ALIAS_CLASSE_SERVICO
|
||||||
|
(
|
||||||
|
"ALIASCLASSE_ID" NUMBER(7,0) NOT NULL ENABLE,
|
||||||
|
"CLASSE_ID" NUMBER(7,0),
|
||||||
|
"ALIAS_ID" NUMBER(7,0),
|
||||||
|
"ORGAOCONCEDENTE_ID" NUMBER(7,0),
|
||||||
|
"MENSAGEM" VARCHAR2(150) NULL,
|
||||||
|
"USUARIO_ID" NUMBER(7,0),
|
||||||
|
"ACTIVO" NUMBER(1,0),
|
||||||
|
"FECMODIF" DATE )
|
||||||
|
';
|
||||||
|
exception when object_exists then null;
|
||||||
|
end;
|
||||||
|
/
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
pragma exception_init (object_exists , -00955);
|
||||||
|
begin
|
||||||
|
execute immediate 'CREATE SEQUENCE "ALIAS_CLASSE_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE';
|
||||||
|
exception when object_exists then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue