changes to the changes ...

This commit is contained in:
Robert Gaggl 2001-07-21 22:49:35 +00:00
parent 75db12646b
commit cbb0d0edf7

View file

@ -5,12 +5,14 @@ alter table MEMBER add column LEVEL tinyint(1) null after USERNAME;
update MEMBER set LEVEL = 0 where ISADMIN = 0 and ISCONTRIBUTOR = 0;
update MEMBER set LEVEL = 1 where ISADMIN = 0 and ISCONTRIBUTOR = 1;
update MEMBER set LEVEL = 2 where ISADMIN = 1 and ISCONTRIBUTOR = 0;
update MEMBER set LEVEL = 2 where ISADMIN = 1 and ISCONTRIBUTOR = 1;
alter table STORY
add column EDITABLEBY tinyint(1) null after ISONLINE;
alter table MEMBER drop column ISADMIN;
alter table MEMBER drop column ISCONTRIBUTOR;
alter table STORY
add column MODIFIER mediumint(9) null after MODIFYTIME;
alter table STORY add column EDITABLEBY tinyint(1) null after ISONLINE;
alter table STORY add column MODIFIER mediumint(9) null after MODIFYTIME;
update STORY set EDITABLEBY = 3;
update STORY set MODIFIER = AUTHOR where MODIFIER is null;