-- created by Oraschemadoc Fri Jun 13 14:05:52 2008
-- visit http://www.yarpen.cz/oraschemadoc/ for more info

  CREATE TABLE "RHNSAT"."RHNFILEDOWNLOAD" 
   (	"FILE_ID" NUMBER CONSTRAINT "RHN_FILEDL_FID_NN" NOT NULL ENABLE, 
	"LOCATION" VARCHAR2(2000) CONSTRAINT "RHN_FILEDL_LOCATION_NN" NOT NULL ENABLE, 
	"TOKEN" VARCHAR2(48), 
	"REQUESTOR_IP" VARCHAR2(15) CONSTRAINT "RHN_FILEDL_RIP_NN" NOT NULL ENABLE, 
	"START_TIME" DATE DEFAULT (sysdate) CONSTRAINT "RHN_FILEDL_START_NN" NOT NULL ENABLE, 
	"USER_ID" NUMBER, 
	 CONSTRAINT "RHN_FILEDL_FID_FK" FOREIGN KEY ("FILE_ID")
	  REFERENCES "RHNSAT"."RHNFILE" ("ID") ENABLE, 
	 CONSTRAINT "RHN_FILEDL_UID_FK" FOREIGN KEY ("USER_ID")
	  REFERENCES "RHNSAT"."WEB_CONTACT" ("ID") ON DELETE SET NULL ENABLE
   ) PCTFREE 10 PCTUSED 40 INITRANS 32 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 16 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "DATA_TBS" 
 
/
