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

  CREATE TABLE "RHNSAT"."RHNKICKSTARTABLETREE" 
   (	"ID" NUMBER CONSTRAINT "RHN_KSTREE_ID_NN" NOT NULL ENABLE, 
	"ORG_ID" NUMBER, 
	"LABEL" VARCHAR2(64) CONSTRAINT "RHN_KSTREE_LABEL_NN" NOT NULL ENABLE, 
	"BASE_PATH" VARCHAR2(256) CONSTRAINT "RHN_KSTREE_BP_NN" NOT NULL ENABLE, 
	"CHANNEL_ID" NUMBER CONSTRAINT "RHN_KSTREE_CID_NN" NOT NULL ENABLE, 
	"BOOT_IMAGE" VARCHAR2(128), 
	"KSTREE_TYPE" NUMBER CONSTRAINT "RHN_KSTREE_KSTREETYPE_NN" NOT NULL ENABLE, 
	"INSTALL_TYPE" NUMBER CONSTRAINT "RHN_KSTREE_IT_NN" NOT NULL ENABLE, 
	"LAST_MODIFIED" DATE DEFAULT (sysdate) CONSTRAINT "RHN_KSTREE_LASTMOD_NN" NOT NULL ENABLE, 
	"CREATED" DATE DEFAULT (sysdate) CONSTRAINT "RHN_KSTREE_CREATED_NN" NOT NULL ENABLE, 
	"MODIFIED" DATE DEFAULT (sysdate) CONSTRAINT "RHN_KSTREE_MODIFIED_NN" NOT NULL ENABLE, 
	 CONSTRAINT "RHN_KSTREE_ID_PK" PRIMARY KEY ("ID")
  USING INDEX PCTFREE 10 INITRANS 32 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 16 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "DATA_TBS"  ENABLE, 
	 CONSTRAINT "RHN_KSTREE_OID_FK" FOREIGN KEY ("ORG_ID")
	  REFERENCES "RHNSAT"."WEB_CUSTOMER" ("ID") ON DELETE CASCADE ENABLE, 
	 CONSTRAINT "RHN_KSTREE_CID_FK" FOREIGN KEY ("CHANNEL_ID")
	  REFERENCES "RHNSAT"."RHNCHANNEL" ("ID") ENABLE, 
	 CONSTRAINT "RHN_KSTREE_KSTREETYPE_FK" FOREIGN KEY ("KSTREE_TYPE")
	  REFERENCES "RHNSAT"."RHNKSTREETYPE" ("ID") ENABLE, 
	 CONSTRAINT "RHN_KSTREE_IT_FK" FOREIGN KEY ("INSTALL_TYPE")
	  REFERENCES "RHNSAT"."RHNKSINSTALLTYPE" ("ID") 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" 
 
/
