aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-12-08 11:49:56 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-12-08 11:49:56 +0000
commit424b1cb9ed7a99e0a9ea8be92a6df76d2736bacb (patch)
tree6bdb9e28f94486a3a6854cd1308009853680d5f5 /engine
parent8e4fcb272cbc609e111618c6ce0b74ec194aaa36 (diff)
downloadelgg-424b1cb9ed7a99e0a9ea8be92a6df76d2736bacb.tar.gz
elgg-424b1cb9ed7a99e0a9ea8be92a6df76d2736bacb.tar.bz2
Fixes #615
git-svn-id: https://code.elgg.org/elgg/trunk@2513 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/schema/mysql.sql2
-rw-r--r--engine/schema/upgrades/2008120501.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index 391cad46e..9a6efd683 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -312,7 +312,7 @@ CREATE TABLE `prefix_private_settings` (
PRIMARY KEY ( `id` ) ,
UNIQUE KEY ( `entity_guid` , `name` ),
KEY `name` (`name`),
- KEY `value` (`value`)
+ KEY `value` (`value` (50))
) ENGINE = MYISAM DEFAULT CHARSET=utf8;
-- System log
diff --git a/engine/schema/upgrades/2008120501.sql b/engine/schema/upgrades/2008120501.sql
index bd08556ee..dd44b96b0 100644
--- a/engine/schema/upgrades/2008120501.sql
+++ b/engine/schema/upgrades/2008120501.sql
@@ -6,4 +6,4 @@ ALTER TABLE `prefix_private_settings` DROP KEY `name`;
ALTER TABLE `prefix_private_settings` ADD KEY `name` (`name`);
ALTER TABLE `prefix_private_settings` DROP KEY `value`;
-ALTER TABLE `prefix_private_settings` ADD KEY `value` (`value`); \ No newline at end of file
+ALTER TABLE `prefix_private_settings` ADD KEY `value` (`value` (50)); \ No newline at end of file