diff options
-rw-r--r-- | update.php | 7 |
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);"); |