Commit c15a5b4b authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fixes #9355. Increase column width header & attach/

parent 870b5eb5
Pipeline #4914 passed with stages
in 3 minutes and 51 seconds
......@@ -194,8 +194,10 @@ $UPDATE_ARRAY = array(
"ALTER TABLE `FormElement` CHANGE `label` `label` VARCHAR(1023) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';",
],
'20.X.0' => [ // TODO: replace X with newest version number
'21.1.0' => [
"ALTER TABLE `Form` ADD `fileStats` VARCHAR(255) NOT NULL DEFAULT '' AFTER `deleted`;",
"ALTER TABLE `MailLog` CHANGE `header` `header` VARCHAR(2048) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';",
"ALTER TABLE `MailLog` CHANGE `attach` `attach` VARCHAR(4096) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';",
],
);
......
......@@ -512,8 +512,8 @@ CREATE TABLE IF NOT EXISTS `MailLog`
`sender` VARCHAR(255) NOT NULL DEFAULT '',
`subject` VARCHAR(255) NOT NULL DEFAULT '',
`body` TEXT NOT NULL,
`header` VARCHAR(255) NOT NULL DEFAULT '',
`attach` VARCHAR(1024) NOT NULL DEFAULT '',
`header` VARCHAR(2048) NOT NULL DEFAULT '',
`attach` VARCHAR(4096) NOT NULL DEFAULT '',
`src` VARCHAR(255) NOT NULL DEFAULT '',
`modified` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`created` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment