summaryrefslogtreecommitdiff
path: root/core/helpers/core_installer.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-09 03:33:49 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-09 03:33:49 +0000
commit2aaf263b9e898d3f94f76980fb3b6769e44dbc9e (patch)
tree116e0befb113f8496f94d42c4f5cc559422f60cb /core/helpers/core_installer.php
parent1ad7ca639ddb87af3755a4ac17ae5199fa5c4fc2 (diff)
On second thought, make the description column varchar(2048) instead.
If I understand correctly, this is better for performance. I could be wrong here, though.
Diffstat (limited to 'core/helpers/core_installer.php')
-rw-r--r--core/helpers/core_installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php
index 195983e1..bee06181 100644
--- a/core/helpers/core_installer.php
+++ b/core/helpers/core_installer.php
@@ -56,7 +56,7 @@ class core_installer {
$db->query("CREATE TABLE {items} (
`album_cover_item_id` int(9) default NULL,
`created` int(9) default NULL,
- `description` text default NULL,
+ `description` varchar(2048) default NULL,
`height` int(9) default NULL,
`id` int(9) NOT NULL auto_increment,
`left` int(9) NOT NULL,