From 8e3618f4128e419e1522e48ccec27082d30e4de4 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 22 May 2015 11:54:45 -0400 Subject: Increase length of attachments file names (and truncate if really too long) --- app/Schema/Mysql.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/Schema') diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index aa611a6e..a65525c8 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -6,7 +6,12 @@ use PDO; use Core\Security; use Model\Link; -const VERSION = 71; +const VERSION = 72; + +function version_72($pdo) +{ + $pdo->exec('ALTER TABLE files MODIFY name VARCHAR(255)'); +} function version_71($pdo) { -- cgit v1.2.3