aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/schema_mysql.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index e75224815..3d8db255f 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -876,7 +876,7 @@ CREATE TABLE IF NOT EXISTS `photo` (
`title` char(191) NOT NULL DEFAULT '',
`description` text NOT NULL,
`album` char(191) NOT NULL DEFAULT '',
- `filename` char(191) NOT NULL DEFAULT '',
+ `filename` text NOT NULL,
`mimetype` char(128) NOT NULL DEFAULT 'image/jpeg',
`height` smallint(6) NOT NULL DEFAULT 0 ,
`width` smallint(6) NOT NULL DEFAULT 0 ,
@@ -1078,7 +1078,7 @@ CREATE TABLE IF NOT EXISTS `register` (
CREATE TABLE IF NOT EXISTS `session` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`sid` char(191) NOT NULL DEFAULT '',
- `sess_data` text NOT NULL,
+ `sess_data` mediumtext NOT NULL,
`expire` bigint(20) unsigned NOT NULL DEFAULT 0 ,
PRIMARY KEY (`id`),
KEY `sid` (`sid`),