diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-08 12:40:41 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-08 12:40:41 +0000 |
commit | a051dd5aab7465facd938a5afc81cdb420890f15 (patch) | |
tree | b0e59e97ba794ec3d61bed8ab62990781ae26322 | |
parent | 91bf736f9726f9611656332b4ba57b576a985666 (diff) | |
download | elgg-a051dd5aab7465facd938a5afc81cdb420890f15.tar.gz elgg-a051dd5aab7465facd938a5afc81cdb420890f15.tar.bz2 |
Closes #666: Added some extra indexes
git-svn-id: https://code.elgg.org/elgg/trunk@2543 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/schema/mysql.sql | 2 | ||||
-rw-r--r-- | engine/schema/upgrades/2009010801.sql | 5 | ||||
-rw-r--r-- | version.php | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql index 9a6efd683..521cda27f 100644 --- a/engine/schema/mysql.sql +++ b/engine/schema/mysql.sql @@ -152,6 +152,8 @@ CREATE TABLE `prefix_users_entity` ( KEY `password` (`password`),
KEY `email` (`email`(50)),
KEY `code` (`code`),
+ KEY `last_action` (`last_action`),
+ KEY `last_login` (`last_login`),
FULLTEXT KEY `name` (`name`), FULLTEXT KEY (`name`,`username`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
diff --git a/engine/schema/upgrades/2009010801.sql b/engine/schema/upgrades/2009010801.sql new file mode 100644 index 000000000..1e7c020e8 --- /dev/null +++ b/engine/schema/upgrades/2009010801.sql @@ -0,0 +1,5 @@ +ALTER TABLE `prefix_users_entity` DROP KEY `last_action`; +ALTER TABLE `prefix_users_entity` ADD KEY `last_action` (`last_action`); + +ALTER TABLE `prefix_users_entity` DROP KEY `last_login`; +ALTER TABLE `prefix_users_entity` ADD KEY `last_login` (`last_login`);
\ No newline at end of file diff --git a/version.php b/version.php index 99e588fa1..2bcdc83b8 100644 --- a/version.php +++ b/version.php @@ -13,7 +13,7 @@ * @link http://elgg.org/
*/
- $version = 2008120901; // YYYYMMDD = Elgg Date
+ $version = 2009010801; // YYYYMMDD = Elgg Date
// XX = Interim incrementer
$release = '1.2'; // Human-friendly version name
|