diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-06-23 13:26:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-06-23 13:26:39 +0000 |
commit | 39373da716172f9e8a6e711125f5f2d156625129 (patch) | |
tree | 77364904ab8246c14873afb3ed09c801c839062c /update.php | |
parent | 15975b3d034e83886bbd8ac2fd6fb03ef17436d0 (diff) | |
download | brdo-39373da716172f9e8a6e711125f5f2d156625129.tar.gz brdo-39373da716172f9e8a6e711125f5f2d156625129.tar.bz2 |
- Added some indices.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/update.php b/update.php index a62ab8f40..921c6576f 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);"); |