head	1.4;
access;
symbols
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.2.2.1
	TIGRIS_0_9_2_3:1.2
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.3
	TIGRIS_0_9_2_1:1.3
	TIGRIS_0_9_2:1.2.0.2
	TIGRIS_0_9_0:1.1.1.1.0.4
	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	2001.01.23.02.36.29;	author elicia;	state Exp;
branches;
next	1.2;

1.2
date	2000.12.30.04.58.58;	author elicia;	state Exp;
branches
	1.2.2.1;
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	;

1.2.2.1
date	2001.02.01.19.09.01;	author jrobbins;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Begone, no-longer-neccessary table creation scripts!
@
text
@# HELM_PROJECT_DOCUMENT stores meta-info about files uploaded to a project.
# + name is the name of the file to be displayed to the user.
# + location is a path under the project-specific
#   area under the HTDOC root.  It may alternatively be a URL to
#   a resource stored off-site.
# + 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.
# + description is a one line description to be shown beside the files name.
# + section is the section of the project table of contents where the
#   document should be listed.  section joins with HELM_PROJECT_DOCUMENT_SECTION.
#   This can be ignored in the first release if we dont get to that feature.
#   Documents with section=NULL are shown at the top level.
# Expecting 1000s of entries.

drop table if exists HELM_PROJECTDOCUMENT;
create table HELM_PROJECTDOCUMENT (
  DOCUMENT_ID   integer AUTO_INCREMENT PRIMARY KEY,
  PROJECT_ID    integer NOT NULL,
  NAME	        varchar(128) NOT NULL,
  DESCRIPTION   varchar(255) DEFAULT '',
  TYPE varchar(128) NOT NULL,
  FILE_NAME varchar(128),
  IS_PUBLIC enum('N','Y'),
  LOCATION      varchar(128),
  URL      varchar(128),
  TEXT      varchar(255),
  SUGGESTED_BY  integer NOT NULL,
  APPROVED_BY   integer DEFAULT NULL
);
create index PROJECT_ID on HELM_PROJECTDOCUMENT (PROJECT_ID);
@


1.3
log
@added fields FILE_NAMe and IS_PUBLIC
@
text
@@


1.2
log
@added resources for Project Documents: HELM_PROJECTSECTION table, and join table HELM_PROJECT_DOCUMENT_SECTION
@
text
@d23 3
@


1.2.2.1
log
@moved change for ProjectDOcuments from HEAD
@
text
@a22 3
  TYPE varchar(128) NOT NULL,
  FILE_NAME varchar(128),
  IS_PUBLIC enum('N','Y'),
@


1.1
log
@Initial revision
@
text
@a21 1
  LOCATION      varchar(255) NOT NULL,
d23 3
d27 1
a27 2
  APPROVED_BY   integer DEFAULT NULL,
  SECTION       integer DEFAULT NULL
@


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
@d22 1
a23 6
  TYPE varchar(128) NOT NULL,
  FILE_NAME varchar(128),
  IS_PUBLIC enum('N','Y'),
  LOCATION      varchar(128),
  URL      varchar(128),
  TEXT      varchar(255),
d25 2
a26 1
  APPROVED_BY   integer DEFAULT NULL
@

