Skip to content
Snippets Groups Projects
Commit ec0fa117 authored by Nicole Cordes's avatar Nicole Cordes Committed by Christian Kuhn
Browse files

[BUGFIX] Increase length of identifier field in sys_file

Sometimes the identifier is longer than 200 chars. This patch increases
the maximum length to 512 characters.

Resolves: #48912
Releases: 6.2, 6.1, 6.0
Change-Id: I67edc1facf972d2ffef09a3204edc556464afda5
Reviewed-on: https://review.typo3.org/23882
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Aske Ertmann
Tested-by: Aske Ertmann
Reviewed-by: Jon Langeland
Tested-by: Jon Langeland
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
parent 7aa646f0
Branches
Tags
No related merge requests found
......@@ -300,7 +300,7 @@ CREATE TABLE sys_file (
type varchar(10) DEFAULT '' NOT NULL,
storage int(11) DEFAULT '0' NOT NULL,
identifier varchar(200) DEFAULT '' NOT NULL,
identifier varchar(512) DEFAULT '' NOT NULL,
extension varchar(255) DEFAULT '' NOT NULL,
mime_type varchar(255) DEFAULT '' NOT NULL,
name tinytext,
......@@ -335,7 +335,7 @@ CREATE TABLE sys_file_processedfile (
storage int(11) DEFAULT '0' NOT NULL,
original int(11) DEFAULT '0' NOT NULL,
identifier varchar(200) DEFAULT '' NOT NULL,
identifier varchar(512) DEFAULT '' NOT NULL,
name tinytext,
configuration text,
originalfilesha1 varchar(40) DEFAULT '' NOT NULL,
......
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