*** empty log message ***

svn path=/trunk/boinc/; revision=5113
This commit is contained in:
David Anderson 2005-01-13 23:06:15 +00:00
parent ef34ef63d7
commit f3d6116223
3 changed files with 21 additions and 0 deletions

View File

@ -22666,3 +22666,15 @@ David 13 Jan 2005
user/
explain_state.php
info.php
David 13 Jan 2005
- add "hidden" fields to thread and post tables,
in preparation for message board moderation features
NOTE TO PROJECTS: apply this update if you're using current PHP.
It doesn't hurt to apply it anyway.
db/
schema.sql
html/ops/
db_update.php

View File

@ -351,6 +351,8 @@ create table thread (
-- in help desk: # people who indicated they had same problem
create_time integer not null,
-- when this record was created
hidden integer not null,
-- nonzero if hidden by moderators
primary key (id)
);
@ -371,6 +373,8 @@ create table post (
score double not null,
votes integer not null,
signature tinyint(1) unsigned not null default 0,
hidden integer not null,
-- nonzero if hidden by moderators
primary key (id)
);

View File

@ -214,6 +214,11 @@ function update_1_7_2005() {
mysql_query("alter table forum_preferences add ignorelist varchar(254) not null");
}
function update_1_13_2005() {
mysql_query("alter table thread add hidden integer not null");
mysql_query("alter table post add hidden integer not null");
}
//update_10_25_2004();
?>