|
|
|
@ -51,7 +51,7 @@ ALTER TABLE lp ADD preview_image varchar(255) NOT NULL default ''; |
|
|
|
|
ALTER TABLE lp ADD author varchar(255) NOT NULL default ''; |
|
|
|
|
ALTER TABLE lp_item ADD terms TEXT NULL; |
|
|
|
|
ALTER TABLE lp_item ADD search_did INT NULL; |
|
|
|
|
CREATE TABLE wiki (id int NOT NULL auto_increment, reflink varchar(250) NOT NULL default 'index', title text NOT NULL, content text NOT NULL, user_id int NOT NULL default 0, group_id int default NULL, timestamp timestamp NOT NULL, addlock int NOT NULL default 1, editlock int NOT NULL default 0, visibility int NOT NULL default 1, addlock_disc int NOT NULL default 1, visibility_disc int NOT NULL default 1, ratinglock_disc int NOT NULL default 1, assignment int NOT NULL default 0, startdate_assig datetime NOT NULL default '0000-00-00 00:00:00', enddate_assig datetime NOT NULL default '0000-00-00 00:00:00', delayedsubmit int NOT NULL default 0, comment text NOT NULL, progress text NOT NULL, score int default 0, version int default NULL, hits int default NULL, linksto text NOT NULL, lastversion in default NULL, tag text NOT NULL, feedback1 text NOT NULL, feedback2 text NOT NULL, feedback3 text NOT NULL, max_size int default NULL, max_text int default NULL, allow_attachments int default NULL, user_ip varchar(39) NOT NULL, PRIMARY KEY (id) ); |
|
|
|
|
CREATE TABLE wiki (id int NOT NULL auto_increment, reflink varchar(250) NOT NULL default 'index', title text NOT NULL, content text NOT NULL, user_id int NOT NULL default 0, group_id int default NULL, timestamp timestamp NOT NULL, addlock int NOT NULL default 1, editlock int NOT NULL default 0, visibility int NOT NULL default 1, addlock_disc int NOT NULL default 1, visibility_disc int NOT NULL default 1, ratinglock_disc int NOT NULL default 1, assignment int NOT NULL default 0, startdate_assig datetime NOT NULL default '0000-00-00 00:00:00', enddate_assig datetime NOT NULL default '0000-00-00 00:00:00', delayedsubmit int NOT NULL default 0, comment text NOT NULL, progress text NOT NULL, score int default 0, version int default NULL, hits int default 0, linksto text NOT NULL, tag text NOT NULL, user_ip varchar(39) NOT NULL, PRIMARY KEY (id) ); |
|
|
|
|
INSERT INTO tool(name,link,image,visibility,admin,address,added_tool,target,category) VALUES ('wiki','wiki/index.php','wiki.gif',0,'1','squaregrey.gif',0,'_self','interaction'); |
|
|
|
|
ALTER TABLE group_category ADD COLUMN wiki_state tinyint unsigned NOT NULL default 1; |
|
|
|
|
ALTER TABLE group_info ADD COLUMN wiki_state enum('0','1','2') NOT NULL default '0'; |
|
|
|
@ -69,4 +69,5 @@ ALTER TABLE survey ADD session_id SMALLINT UNSIGNED NOT NULL DEFAULT 0; |
|
|
|
|
ALTER TABLE survey ADD INDEX ( session_id ) ; |
|
|
|
|
CREATE TABLE wiki_discuss (id int NOT NULL auto_increment, publication_id int NOT NULL default 0, userc_id int NOT NULL default 0, comment text NOT NULL, p_score varchar(255) default NULL, timestamp timestamp(14) NOT NULL, PRIMARY KEY (id) ); |
|
|
|
|
CREATE TABLE wiki_mailcue (id int NOT NULL, user_id int NOT NULL, type text NOT NULL, group_id int DEFAULT NULL, KEY (id) ); |
|
|
|
|
ALTER TABLE lp_item ADD audio VARCHAR(250); |
|
|
|
|
ALTER TABLE lp_item ADD audio VARCHAR(250); |
|
|
|
|
CREATE TABLE wiki_conf (id int NOT NULL auto_increment, feedback1 text NOT NULL, feedback2 text NOT NULL, feedback3 text NOT NULL, max_size int default NULL, max_text int default NULL, allow_attachments int default NULL, PRIMARY KEY (id) ); |