diff --git a/update.php b/update.php index a62ab8f4041..921c6576f4f 100644 --- a/update.php +++ b/update.php @@ -43,7 +43,8 @@ $mysql_updates = array( "2002-04-20" => "update_28", "2002-04-23 : roles cleanup" => "update_29", "2002-05-02" => "update_30", - "2002-05-15" => "update_31" + "2002-05-15" => "update_31", + "2002-06-22" => "update_32" ); // Update functions @@ -476,6 +477,11 @@ function update_31() { update_sql("ALTER TABLE node DROP attributes"); } +function update_32() { + update_sql(" ALTER TABLE users ADD index (sid(4));"); + update_sql("ALTER TABLE users ADD index (timestamp);"); +} + 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);");