Increase length of attachments file names (and truncate if really too long)

This commit is contained in:
Frederic Guillot
2015-05-22 11:54:45 -04:00
parent c9ba525bab
commit 8e3618f412
3 changed files with 38 additions and 2 deletions

View File

@@ -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)
{