0012884: Versionamento RJIntegra

bug#0012884
dev:Valdir
qua:xxx

apenas create de table e sequence no banco.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@88389 d1611594-4594-4d17-8e1d-87c2c4800839
master
daniel.zauli 2018-12-28 11:19:39 +00:00
parent 68aa91c288
commit 94b1c12d5b
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,13 @@
declare
object_exists exception;
pragma exception_init (object_exists , -00955);
begin
execute immediate
'CREATE TABLE LAST_WAR_VERSION (
LASTWARVERSION_ID NUMBER(15,0) NOT NULL,
FECMODIF DATE NULL,
VERSAO VARCHAR2(45),
PRIMARY KEY (LASTWARVERSION_ID)
)';
exception when object_exists then null;
end;

View File

@ -0,0 +1,7 @@
declare
object_exists exception;
pragma exception_init (object_exists , -00955);
begin
execute immediate 'create sequence LAST_WAR_VERSION_SEQ minvalue 1 maxvalue 9999999999999999999999999999 start with 1 increment by 1 nocache ORDER';
exception when object_exists then null;
end;