head	1.4;
access;
symbols
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.3
	TIGRIS_0_9_2_3:1.3
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.3
	TIGRIS_0_9_2_1:1.3
	TIGRIS_0_9_2:1.3.0.2
	TIGRIS_0_9_0:1.2.0.2
	TIGRIS_0_8_4:1.1.1.1.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2001.03.12.20.10.28;	author leonardr;	state dead;
branches;
next	1.3;

1.3
date	2000.12.30.04.58.58;	author elicia;	state Exp;
branches;
next	1.2;

1.2
date	2000.12.09.00.11.59;	author leonardr;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.12.21.17.50;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.17.50;	author dlr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.02.21.00.36.28;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Begone, no-longer-neccessary table creation scripts!
@
text
@# HELM_PROJECT_DOCUMENT_SECTION joins the Document table to the Section table. 
#
# 100s of entries.
#
drop table if exists HELM_PROJECT_DOCUMENT_SECTION;
create table HELM_PROJECT_DOCUMENT_SECTION (
    document_ID		integer NOT NULL,
    section_ID 	integer NOT NULL,
    PRIMARY KEY (document_ID, section_ID)
);
@


1.3
log
@added resources for Project Documents: HELM_PROJECTSECTION table, and join table HELM_PROJECT_DOCUMENT_SECTION
@
text
@@


1.2
log
@This table joins against PROJECT_DOCUMENT; it doesn't need to join against PROJECT as well.
@
text
@d1 9
a9 18
# HELM_PROJECTDOCUMENTSECTION stores categories of project documents.
# + NAME is the NAME of the section to be displayed to the user.
# + parentSection is joins against this same table.
# + description is a one line description to be shown beside the section NAME.
# + suggestedBy is a userID from the User table.
# + approvedBy shows the userID of the User that approved the visibility of
#   the download, documents with approvedBy=NULL will not be displayed to
#   average users.
# Expecting 100s of entries.

drop table if exists HELM_PROJECTDOCUMENTSECTION;
create table HELM_PROJECTDOCUMENTSECTION (
  DOCUMENT_ID   integer AUTO_INCREMENT PRIMARY KEY,
  NAME          varchar(128) NOT NULL,
  DESCRIPTION   varchar(255) DEFAULT '',
  SUGGESTED_BY  integer NOT NULL,
  APPROVED_BY   integer DEFAULT NULL,
  SECTION       integer NOT NULL
a10 1

@


1.1
log
@Initial revision
@
text
@a13 1
  PROJECT_ID    integer NOT NULL,
d20 1
a20 1
create index PROJECT_ID on HELM_PROJECTDOCUMENTSECTION (PROJECT_ID);
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d1 19
a19 9
# HELM_PROJECT_DOCUMENT_SECTION joins the Document table to the Section table. 
#
# 100s of entries.
#
drop table if exists HELM_PROJECT_DOCUMENT_SECTION;
create table HELM_PROJECT_DOCUMENT_SECTION (
    document_ID		integer NOT NULL,
    section_ID 	integer NOT NULL,
    PRIMARY KEY (document_ID, section_ID)
d21 1
@

