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-87c2c4800839master
parent
68aa91c288
commit
94b1c12d5b
|
@ -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;
|
|
@ -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;
|
Loading…
Reference in New Issue