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


1.2
date	2001.03.17.06.21.21;	author davidp;	state Exp;
branches;
next	1.1;

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


desc
@@


1.2
log
@This revision runs without error.
@
text
@alter table HELM_ACTION
    modify column ACTION_ID int(11) NOT NULL auto_increment;

alter table HELM_DOMAIN
    modify column DOMAIN_ID int(11) NOT NULL auto_increment,
    add unique name (NAME);

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

alter table HELM_MAILINGLIST
    modify column MAILING_LIST_ID int(11) NOT NULL auto_increment;

alter table HELM_PROJECT
    modify column PROJECT_ID int(11) NOT NULL auto_increment,
    add column USE_INDEX enum('N','Y') DEFAULT 'N' NOT NULL,
    add column SKIN_ID int(11);

alter table HELM_PROJECTDOWNLOAD
    modify column DOWNLOAD_ID int(11) NOT NULL auto_increment,
    modify column LOCATION text DEFAULT '' NOT NULL,
    add column IS_PUBLIC enum('N','Y') DEFAULT 'N' NOT NULL,
    add column MD5 varchar(255);

alter table HELM_PROJECTNEWS
    modify column NEWS_ID int(11) NOT NULL auto_increment,
    modify column BODY text DEFAULT '' NOT NULL,
    add column PROPOSED_BY int(11);

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

alter table HELM_TASK
    modify column TASK_ID int(11) NOT NULL auto_increment;

alter table HELM_PROJECTDOCUMENT
    add column TYPE varchar(128) DEFAULT '' NOT NULL,
    add column FILE_NAME varchar(128),
    add column IS_PUBLIC enum('N','Y'),
    add column URL varchar(128),
    add column TEXT varchar(255),
    modify column LOCATION varchar(128),
    drop column SECTION;

alter table HELM_PROJECTDOCUMENTSECTION rename as HELM_PROJECTSECTION;

alter table HELM_PROJECTSECTION
    add column PARENT_ID int(11), 
    drop column DOCUMENT_ID, 
    change column SECTION SECTION_ID int(11) NOT NULL auto_increment,
    add primary key (SECTION_ID);

alter table Permission
    modify column permissionID int(11) NOT NULL auto_increment;

alter table Role
    modify column roleID int(11) NOT NULL auto_increment;

alter table User
    modify column userID int(11) NOT NULL auto_increment,
    add column organization varchar(99);

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

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

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

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

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

alter table eb_Thread
    modify column threadId int(11) NOT NULL auto_increment;
@


1.1
log
@First pass, untested.  Commiting now to allow others to edit.
@
text
@d2 1
a2 1
    change column ACTION_ID int(11) NOT NULL auto_increment;
d5 1
a5 1
    change column DOMAIN_ID int(11) NOT NULL auto_increment,
d9 1
a9 1
    change column INVITATION_ID int(11) NOT NULL auto_increment;
d12 1
a12 1
    change column MAILING_LIST_ID int(11) NOT NULL auto_increment;
d15 1
a15 1
    change column PROJECT_ID int(11) NOT NULL auto_increment,
d20 3
a22 3
    change column DOWNLOAD_ID int(11) NOT NULL auto_increment,
    change column LOCATION text DEFAULT '' NOT NULL,
    change column IS_PUBLIC enum('N','Y') DEFAULT 'N' NOT NULL,
d26 2
a27 2
    change column NEWS_ID int(11) NOT NULL auto_increment,
    change column BODY text DEFAULT '' NOT NULL,
d31 1
a31 1
    change column RESOURCE_ID int(11) NOT NULL auto_increment;
d34 1
a34 1
    change column TASK_ID int(11) NOT NULL auto_increment;
d42 1
a42 1
    change column LOCATION varchar(128),
d51 1
a51 1
    add primary key SECTION_ID;
d54 1
a54 1
    change column permissionID int(11) NOT NULL auto_increment;
d57 1
a57 1
    change column roleID int(11) NOT NULL auto_increment;
d60 1
a60 1
    change column userID int(11) NOT NULL auto_increment,
d64 1
a64 1
    change column authorId int(11) NOT NULL auto_increment;
d67 1
a67 1
    change column listId int(11) NOT NULL auto_increment;
d70 1
a70 1
    change column fileId int(11) NOT NULL auto_increment;
d73 1
a73 1
    change column msgId int(11) NOT NULL auto_increment;
d76 1
a76 1
    change column subjectId int(11) NOT NULL auto_increment;
d79 1
a79 1
    change column threadId int(11) NOT NULL auto_increment;
@

