From 077ca1aea5a6b02ca91d9739e94e5dee221a681a Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 15 Apr 2025 08:41:10 +0000 Subject: [PATCH] change photo.filename to type text (some platforms have very long filenames for their profile photos) --- install/schema_mysql.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql index e75224815..3cf8039e4 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 ,