summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-08-11 20:02:32 +0000
committerDries Buytaert <dries@buytaert.net>2002-08-11 20:02:32 +0000
commite0357857c0d003e2465f32a559ad5434c361ecae (patch)
treef7daa8f0b25f92fca5f028659174fa78ef62399a /update.php
parentf5173ef23304b6c243eaf69fd193f60e8d2f3a46 (diff)
downloadbrdo-e0357857c0d003e2465f32a559ad5434c361ecae.tar.gz
brdo-e0357857c0d003e2465f32a559ad5434c361ecae.tar.bz2
- Added indices for the poll module. Patch by Marco.
Diffstat (limited to 'update.php')
-rw-r--r--update.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/update.php b/update.php
index f98e84287..82c70c465 100644
--- a/update.php
+++ b/update.php
@@ -46,7 +46,8 @@ $mysql_updates = array(
"2002-05-15" => "update_31",
"2002-06-22" => "update_32",
"2002-07-07" => "update_33",
- "2002-07-31" => "update_34"
+ "2002-07-31" => "update_34",
+ "2002-08-10" => "update_35"
);
// Update functions
@@ -497,6 +498,10 @@ function update_34() {
update_sql("ALTER TABLE feed MODIFY timestamp int (10) NOT NULL default '0';");
}
+function update_35() {
+ update_sql("ALTER TABLE poll_choices ADD INDEX (nid);");
+}
+
function update_upgrade3() {
update_sql("INSERT INTO system VALUES ('archive.module','archive','module','',1);");
update_sql("INSERT INTO system VALUES ('block.module','block','module','',1);");