Modified imageGroup table to be consistent with other WebGUI tables

This commit is contained in:
Daniel Quinlan 2002-06-25 08:36:40 +00:00
parent b2fe1089af
commit 70e8ded5f8

View file

@ -23,12 +23,10 @@ alter table UserSubmission add column karmaPerPost int not null default 0;
alter table MessageBoard add column karmaPerPost int not null default 0;
alter table Article add column karmaPerPost int not null default 0;
CREATE TABLE imageGroup (
imageGroupId int(11) NOT NULL auto_increment,
imageGroupId int(11) NOT NULL,
name varchar(128) NOT NULL default 'untitled',
parentId int(11) NOT NULL default '0',
description varchar(255) default NULL,
PRIMARY KEY (imageGroupId),
UNIQUE KEY imageGroupId (imageGroupId)
);
INSERT INTO incrementer VALUES('imageGroupId',1);
INSERT INTO imageGroup (imageGroupId, name, parentId, description) VALUES (0, 'Root', 0, 'Top level');