head	1.1;
access;
symbols
	TIGRIS_1_1_0RC2:1.1
	TIGRIS_1_1_0RC1:1.1
	TIGRIS_1_1:1.1.0.4
	TIGRIS_1_0_8:1.1
	TIGRIS_1_0_8RC3:1.1
	TIGRIS_1_0_8RC2:1.1
	TIGRIS_1_0_8RC1:1.1
	TIGRIS_1_0_7:1.1
	TIGRIS_1_0_7RC3:1.1
	TIGRIS_1_0_7RC2:1.1
	TIGRIS_1_0_7RC1:1.1
	TIGRIS_1_0_6:1.1
	TIGRIS_1_0_6RC5:1.1
	TIGRIS_1_0_6RC4:1.1
	TIGRIS_1_0_6RC3:1.1
	TIGRIS_1_0_6RC2:1.1
	TIGRIS_1_0_6RC1:1.1
	TIGRIS_1_0_5:1.1
	TIGRIS_1_0_5RC6:1.1
	TIGRIS_1_0_5RC5:1.1
	TIGRIS_1_0_5RC4:1.1
	TIGRIS_1_0_5RC3:1.1
	TIGRIS_1_0_5RC2:1.1
	TIGRIS_1_0_5RC1:1.1
	TIGRIS_1_0_4:1.1
	TIGRIS_1_0_3:1.1
	TIGRIS_1_0_2:1.1
	TIGRIS_1_0_1:1.1
	TIGRIS_1_0:1.1.0.6
	TIGRIS_1_0_0:1.1
	TIGRIS_1_0_0_RC1:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2001.03.16.07.45.13;	author davidp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@First pass, untested.  Commiting now to allow others to edit.
@
text
@#Deleted tables
#==============
drop table HELM_MODULE;

#New tables
#==========

#
# Table structure for table 'HELM_AUDIT_LOG_ENTRY'
#
CREATE TABLE HELM_AUDIT_LOG_ENTRY (
 ENTRY_ID int(11) NOT NULL auto_increment,
 TIMESTAMP timestamp(14),
 AFFECTED_TYPE enum('Host','Domain','Project'),
 AFFECTED_ID int(11) DEFAULT '0' NOT NULL,
 INITIATING_USER int(11) DEFAULT '0' NOT NULL,
 DESCRIPTION text,
 RATIONALE text,
 PRIMARY KEY (ENTRY_ID),
 KEY HELM_AUDIT_LOG_ENTRY (ENTRY_ID)
);

#
# Table structure for table 'HELM_SKIN'
#
CREATE TABLE HELM_SKIN (
  SKIN_ID int(11) NOT NULL auto_increment,
  BASE_SKIN int(11),
  NAME char(127) DEFAULT '' NOT NULL,
  RESOURCE char(255),
  PRIMARY KEY (SKIN_ID),
  UNIQUE NAME (NAME)
);

#
# Table structure for table 'HELM_SKIN_STYLE_ELEMENT_VALUE'
#
CREATE TABLE HELM_SKIN_STYLE_ELEMENT_VALUE (
  SKIN_ID int(11) DEFAULT '0' NOT NULL,
  STYLE_ID int(11) DEFAULT '0' NOT NULL,
  ELEMENT_ID int(11) DEFAULT '0' NOT NULL,
  VALUE char(128),
  PRIMARY KEY (SKIN_ID,STYLE_ID,ELEMENT_ID)
);

#
# Table structure for table 'HELM_STYLE'
#
CREATE TABLE HELM_STYLE (
  STYLE_ID int(11) NOT NULL auto_increment,
  NAME char(127) DEFAULT '' NOT NULL,
  DESCRIPTION char(255) DEFAULT '' NOT NULL,
  PRIMARY KEY (STYLE_ID),
  UNIQUE NAME (NAME)
);

#
# Table structure for table 'HELM_STYLEELEMENT'
#
CREATE TABLE HELM_STYLEELEMENT (
  ELEMENT_ID int(11) NOT NULL auto_increment,
  HTML_NAME char(255),
  CSS_NAME char(255),
  DESCRIPTION char(255) DEFAULT '' NOT NULL,
  PRIMARY KEY (ELEMENT_ID)
);

#
# Table structure for table 'HELM_USER_PROJECT_INTEREST'
#
CREATE TABLE HELM_USER_PROJECT_INTEREST (
  USER_ID int(11) DEFAULT '0' NOT NULL,
  PROJECT_ID int(11) DEFAULT '0' NOT NULL,
  PRIMARY KEY (USER_ID,PROJECT_ID)
);

#
# Table structure for table 'HELM_VC_MAP'
#
CREATE TABLE HELM_VC_MAP (
  MAP_ID int(11) NOT NULL auto_increment,
  VIEW_ID int(11) DEFAULT '0' NOT NULL,
  REPOSITORY_DIR text DEFAULT '' NOT NULL,
  WORKING_DIR text,
  FILE_LIST text,
  PRIMARY KEY (MAP_ID),
  KEY VIEW_ID (VIEW_ID)
);

#
# Table structure for table 'HELM_VC_VIEW'
#
CREATE TABLE HELM_VC_VIEW (
  VIEW_ID int(11) NOT NULL auto_increment,
  DOMAIN_ID int(11) DEFAULT '0' NOT NULL,
  NAME text DEFAULT '' NOT NULL,
  PRIMARY KEY (VIEW_ID,DOMAIN_ID)
);

#
# Table structure for table 'HELM_PROJECT_DOCUMENT_SECTION'
#
CREATE TABLE HELM_PROJECT_DOCUMENT_SECTION (
    document_ID int(11) DEFAULT '0' NOT NULL,
    section_ID int(11) DEFAULT '0' NOT NULL,
    PRIMARY KEY (document_ID,section_ID)
);
@
