Fixed bug in INSERT into incrementer table. my bad

This commit is contained in:
Daniel Quinlan 2002-06-24 22:09:42 +00:00
parent 79130fd424
commit 4e11f97b20

View file

@ -30,7 +30,7 @@ CREATE TABLE imageGroup (
PRIMARY KEY (imageGroupId),
UNIQUE KEY imageGroupId (imageGroupId)
);
INSERT INTO incrementer (incrementId, nextValue) VALUES('imageGroupId',1);
INSERT INTO incrementer VALUES('imageGroupId',1);
INSERT INTO imageGroup (imageGroupId, name, parentId, description) VALUES (0, 'Root', 0, 'Top level');
alter table images add column imageGroupId int not null default 0;
INSERT INTO groups (groupId, groupName, description) VALUES (9, 'Image Managers', 'Users that have privileges to add, edit, and delete images from the image manager. Content managers can view by default');