[TASK] Increase title length of filemount 69/56669/2
authorGuido Schmechel <guido.schmechel@brandung.de>
Sat, 14 Apr 2018 17:59:20 +0000 (19:59 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 15 Apr 2018 11:32:43 +0000 (13:32 +0200)
Increase length of sys_filemount.title from 30 to 255 characters.

Resolves: #50979
Releases: master, 8.7
Change-Id: I37fc5a7877073bdfa485adb3d25dc8f2bd9b76ff
Reviewed-on: https://review.typo3.org/56669
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Configuration/TCA/sys_filemounts.php
typo3/sysext/core/ext_tables.sql

index e646417..74c4041 100644 (file)
@@ -28,8 +28,8 @@ return [
             'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_filemounts.title',
             'config' => [
                 'type' => 'input',
-                'size' => 20,
-                'max' => 30,
+                'size' => 50,
+                'max' => 255,
                 'eval' => 'required,trim'
             ]
         ],
index 2967441..ee92eb1 100644 (file)
@@ -222,7 +222,7 @@ CREATE TABLE sys_filemounts (
        uid int(11) unsigned NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
-       title varchar(30) DEFAULT '' NOT NULL,
+       title varchar(255) DEFAULT '' NOT NULL,
        description varchar(2000) DEFAULT '' NOT NULL,
        path varchar(255) DEFAULT '' NOT NULL,
        base int(11) unsigned DEFAULT '0' NOT NULL,