Modified imageGroup table to be consistent with other WebGUI tables
This commit is contained in:
parent
b2fe1089af
commit
70e8ded5f8
1 changed files with 1 additions and 3 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue