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


1.9
date	2001.05.23.22.32.13;	author stack;	state Exp;
branches;
next	1.8;

1.8
date	2001.03.26.04.39.18;	author jrobbins;	state Exp;
branches
	1.8.6.1;
next	1.7;

1.7
date	2001.03.26.04.09.01;	author leonardr;	state Exp;
branches;
next	1.6;

1.6
date	2001.03.26.04.07.14;	author leonardr;	state Exp;
branches;
next	1.5;

1.5
date	2001.03.26.03.58.48;	author leonardr;	state Exp;
branches;
next	1.4;

1.4
date	2001.03.26.03.56.24;	author leonardr;	state Exp;
branches;
next	1.3;

1.3
date	2001.03.26.03.17.26;	author jrobbins;	state Exp;
branches;
next	1.2;

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

1.1
date	2001.03.16.20.37.02;	author leonardr;	state Exp;
branches;
next	;

1.8.6.1
date	2001.05.25.00.10.47;	author stack;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Index PROJECT_ID not PROJECT (No PROJECT column).
(This table is no longer used but error in migration output is
disconcerting).
@
text
@alter table HELM_ACTION
    alter column ACTION_ID set default '0',
    modify column TYPE varchar(7) DEFAULT 'Host',
    add column TAKES_RESOURCE char(1) DEFAULT 'N' NOT NULL,
    add column AFFECTED_BY_PROJECT_LOCK char(1) DEFAULT 'N' NOT NULL;

alter table HELM_AUDIT_LOG_ENTRY
    alter column ENTRY_ID set default '0',
    modify column DESCRIPTION longtext,
    modify column RATIONALE longtext,
    modify column AFFECTED_TYPE varchar(7) DEFAULT 'Host' NOT NULL;

alter table HELM_DOMAIN
    modify column DOMAIN_ID int(11) DEFAULT '0' NOT NULL auto_increment;

alter table HELM_INVITATION
    modify column INVITATION_ID int(11) DEFAULT '0' NOT NULL auto_increment;

alter table HELM_MAILINGLIST
    change column MAILING_LIST_ID MAILINGLIST_ID int(11) DEFAULT '0' NOT NULL 
                                                 auto_increment,
    add column IS_PRIVATE char(1) DEFAULT 'N' NOT NULL,
    modify column DESCRIPTION longtext;

alter table HELM_NEWSITEM
    modify column EVENT_DATE date,
    modify column BODY longtext NOT NULL,
    modify column PROPOSED_BY int(11) DEFAULT '0' NOT NULL,
    modify column APPROVED_BY int(11) DEFAULT '0' NOT NULL,
    change column PUBLISH_ON PUBLISH_DATE date,
    change column REMOVE_ON REMOVE_DATE date;

alter table HELM_PROJECT
    modify column PROJECT_ID int(11) DEFAULT '0' NOT NULL auto_increment,
    modify column SHORT_DESCRIPTION varchar(64),
    modify column LONG_DESCRIPTION longtext,
    modify column STATUS longtext,
    modify column PROFILE varchar(11) DEFAULT 'development' NOT NULL,
    modify column TYPE varchar(8) DEFAULT 'base' NOT NULL,
    modify column IS_PROPRIETARY char(1) DEFAULT 'N' NOT NULL,
    modify column USE_INDEX char(1) DEFAULT 'N' NOT NULL,
    add column LOCKED char(1) DEFAULT 'N' NOT NULL;

alter table HELM_PROJECTDOCUMENT
    modify column DOCUMENT_ID int(11) DEFAULT '0' NOT NULL auto_increment,
    modify column DESCRIPTION longtext,
    modify column IS_PUBLIC char(1) DEFAULT 'N' NOT NULL,
    add column MD5 varchar(255),
    add column SIZE bigint(20) DEFAULT '0' NOT NULL,
    add column UPLOADED_DATE date,
    change column SUGGESTED_BY PROPOSED_BY int(11) DEFAULT '0' NOT NULL;

alter table HELM_PROJECTDOWNLOAD
    modify column DOWNLOAD_ID int(11) DEFAULT '0' NOT NULL auto_increment,
    modify column LOCATION varchar(128) DEFAULT '' NOT NULL,
    change column UPLOADED_BY PROPOSED_BY int(11) DEFAULT '0' NOT NULL,
    modify column IS_PUBLIC char(1) DEFAULT 'N' NOT NULL,
    modify column DESCRIPTION longtext,
    change column UPLOAD_DATE UPLOADED_DATE date DEFAULT '0000-00-00' NOT NULL,
    modify column SIZE bigint(20) DEFAULT '0' NOT NULL;

alter table HELM_PROJECTSECTION
    modify column SECTION_ID int(11) DEFAULT '0' NOT NULL auto_increment,
    change column SUGGESTED_BY PROPOSED_BY int(11) DEFAULT '0' NOT NULL;

alter table HELM_PROJECT_DOCUMENT_SECTION
    drop primary key,
    change column document_ID DOCUMENT_ID int(11) DEFAULT '0' NOT NULL,
    change column section_ID SECTION_ID int(11) DEFAULT '0' NOT NULL,
    add primary key (DOCUMENT_ID,SECTION_ID);

alter table HELM_RESOURCE
    modify column RESOURCE_ID int(11) DEFAULT '0' NOT NULL auto_increment;

alter table HELM_TASK
    modify column TASK_ID int(11) DEFAULT '0' NOT NULL auto_increment,
    modify column COMMAND longtext,
    modify column ARGUMENTS longtext;

alter table HELM_USER_USERGROUP
    change column userID USER_ID int(11) DEFAULT '0' NOT NULL,
    change column userGroupID USER_GROUP_ID int(11) DEFAULT '0' NOT NULL,
    drop primary key,
    add primary key (USER_ID, USER_GROUP_ID);

alter table HELM_VC_MAP
    modify column MAP_ID int(11) DEFAULT '0' NOT NULL auto_increment,
    modify column REPOSITORY_DIR longtext NOT NULL,
    modify column WORKING_DIR longtext,
    modify column FILE_LIST longtext;

alter table HELM_VC_VIEW
    modify column VIEW_ID int(11) DEFAULT '0' NOT NULL auto_increment,
    modify column NAME longtext NOT NULL;

alter table eb_Author
    modify column authorId int(11) DEFAULT '0' NOT NULL auto_increment;

alter table eb_List
    modify column listId int(11) DEFAULT '0' NOT NULL auto_increment;

alter table eb_ListFile
    modify column fileId int(11) DEFAULT '0' NOT NULL auto_increment;

alter table eb_Message
    modify column msgId int(11) DEFAULT '0' NOT NULL auto_increment;

alter table eb_Subject
    modify column subjectId int(11) DEFAULT '0' NOT NULL auto_increment;

alter table eb_Thread
    modify column threadId int(11) DEFAULT '0' NOT NULL auto_increment;

#Indexes
alter table HELM_PROJECT_DOCUMENT_SECTION
	add INDEX(SECTION_ID);

alter table HELM_PROJECT_PROJECTGROUP
	add INDEX(PROJECT_GROUP_ID);

alter table HELM_ROLE_ACTION_RESOURCE
	add INDEX(ACTION_ID,RESOURCE_ID),
	add INDEX(RESOURCE_ID);

alter table HELM_USER_USERGROUP
	add INDEX(USER_GROUP_ID);

alter table HELM_USER_PROJECT_INTEREST
	add INDEX(PROJECT_ID);

alter table HELM_USER_ROLE_PROJECT
	add INDEX(ROLE_ID,PROJECT_ID),
	add INDEX(PROJECT_ID);
@


1.8
log
@long live semicolons
@
text
@d129 1
a129 1
	add INDEX(PROJECT);
@


1.8.6.1
log
@Index PROJECT_ID column rather than the non-existent PROJECT column.
Reviewed by:  JRobbins
@
text
@d129 1
a129 1
	add INDEX(PROJECT_ID);
@


1.7
log
@Locked defaults to "no".
@
text
@d31 1
a31 1
    change column REMOVE_ON REMOVE_DATE date
@


1.6
log
@Change some news item fields.
@
text
@d42 1
a42 1
    add column LOCKED char(1) DEFAULT 'Y' NOT NULL;
@


1.5
log
@Added semicolon.
@
text
@d25 8
@


1.4
log
@Removed duplicate field.
@
text
@d5 1
a5 1
    add column AFFECTED_BY_PROJECT_LOCK char(1) DEFAULT 'N' NOT NULL,
@


1.3
log
@corrected naming error
@
text
@a5 1
    add column AFFECTED_TYPE varchar(7) DEFAULT 'Host' NOT NULL;
d10 2
a11 1
    modify column RATIONALE longtext;
@


1.2
log
@Moved Torque-generated indexes.
@
text
@d120 1
a120 1
alter table HELM_PROJECT_INTEREST
@


1.1
log
@Changed names of scripts.
@
text
@d105 21
@

