From f1a7efccf8f1868ea7f95d32cad4176ba180e668 Mon Sep 17 00:00:00 2001 From: "Janus B. Kristensen" Date: Wed, 20 Apr 2005 21:25:18 +0000 Subject: [PATCH] Stickies and new forum rules svn path=/trunk/boinc/; revision=5906 --- html/ops/db_update.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/html/ops/db_update.php b/html/ops/db_update.php index dacbfed57c..b4bc4cd536 100644 --- a/html/ops/db_update.php +++ b/html/ops/db_update.php @@ -255,7 +255,17 @@ function update_1_20a_2005() { function update_2_25_2005() { do_query("alter table host add max_results_day integer not null"); +} +function update_4_20_2005(){ + do_query("ALTER TABLE `thread` ADD `sticky` TINYINT UNSIGNED DEFAULT '0' NOT NULL"); + do_query("ALTER TABLE `forum` ADD `post_min_total_credit` INT NOT NULL AFTER `posts`"); + do_query("ALTER TABLE `forum` ADD `post_min_expavg_credit` INT NOT NULL AFTER `posts`"); + do_query("ALTER TABLE `forum` ADD `post_min_interval` INT NOT NULL AFTER `posts`"); + do_query("ALTER TABLE `forum` ADD `rate_min_total_credit` INT NOT NULL AFTER `posts`"); + do_query("ALTER TABLE `forum` ADD `rate_min_expavg_credit` INT NOT NULL AFTER `posts`"); + do_query("ALTER TABLE `forum_preferences` ADD `last_post` INT( 14 ) UNSIGNED NOT NULL AFTER `posts`"); +} //update_10_25_2004(); ?>