Merge pull request 'Adição do cadastro de Alias de classe bug#AL-3857' (!116) from AL-3857 into master
Reviewed-on: utilidades/Flyway#116 Reviewed-by: Gleison da Cruz <gleison.cruz@totvs.com.br>master
commit
955b16c6cc
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>Flyway</artifactId>
|
||||
<version>1.44.0</version>
|
||||
<version>1.45.0</version>
|
||||
|
||||
<distributionManagement>
|
||||
<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