summaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-01-03 12:25:51 -0800
committerBharat Mediratta <bharat@menalto.com>2011-01-03 12:25:51 -0800
commitd74aad072d8ccca70efb1c8b673e8368566a1974 (patch)
treedc369e69efec0bd6b23c466e85056eb41a696fa5 /installer
parent21ad2c64ff8add478352a0ee7800d87328594ee0 (diff)
Some small follow on fixes for #1559 and #1568:
1) Make database changes in gallery_installer::install() instead of in installer/install.ql 2) Bump the version number in modules/gallery/module.info
Diffstat (limited to 'installer')
-rw-r--r--installer/install.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/install.sql b/installer/install.sql
index 84a975ae..6aae8014 100644
--- a/installer/install.sql
+++ b/installer/install.sql
@@ -43,7 +43,7 @@ CREATE TABLE {caches} (
`expiration` int(9) NOT NULL,
`cache` longblob,
PRIMARY KEY (`id`),
- KEY `key` (`key`),
+ UNIQUE KEY `key` (`key`),
KEY `tags` (`tags`)
) DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -152,7 +152,7 @@ CREATE TABLE {items} (
`album_cover_item_id` int(9) DEFAULT NULL,
`captured` int(9) DEFAULT NULL,
`created` int(9) DEFAULT NULL,
- `description` varchar(2048) DEFAULT NULL,
+ `description` text,
`height` int(9) DEFAULT NULL,
`left_ptr` int(9) NOT NULL,
`level` int(9) NOT NULL,