git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@50874 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
-- Create table
|
||||
create table AUDIT_SESSIONS
|
||||
(
|
||||
AUSE_ID NUMBER not null,
|
||||
USERNAME VARCHAR2(30) not null,
|
||||
SESSION_ID VARCHAR2(240),
|
||||
IP_ADDRESS VARCHAR2(15),
|
||||
CREATED_BY VARCHAR2(30) not null,
|
||||
CREATED_ON DATE not null
|
||||
)
|
||||
tablespace USERS
|
||||
pctfree 10
|
||||
initrans 1
|
||||
maxtrans 255
|
||||
storage
|
||||
(
|
||||
initial 64K
|
||||
minextents 1
|
||||
maxextents unlimited
|
||||
);
|
||||
-- Create/Recreate primary, unique and foreign key constraints
|
||||
alter table AUDIT_SESSIONS
|
||||
add constraint AUSE_PK primary key (AUSE_ID)
|
||||
using index
|
||||
tablespace USERS
|
||||
pctfree 10
|
||||
initrans 2
|
||||
maxtrans 255
|
||||
storage
|
||||
(
|
||||
initial 64K
|
||||
minextents 1
|
||||
maxextents unlimited
|
||||
);
|
||||
Reference in New Issue
Block a user