Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
f5019b7e
Commit
f5019b7e
authored
Feb 01, 2018
by
Elias Villiger
Browse files
Bug #5309 - Improve Update query for min|max
parent
37a53fea
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/database/DatabaseUpdateData.php
View file @
f5019b7e
...
...
@@ -99,7 +99,7 @@ $UPDATE_ARRAY = array(
],
'0.25.11'
=>
[
"UPDATE FormElement SET parameter = CONCAT(parameter, '
\n
min = ', SUBSTRING_INDEX(checkPattern, '|', 1), '
\n
max = ', SUBSTRING_INDEX(checkPattern, '|', -1)) WHERE checkType LIKE 'min|max%' AND checkPattern <> ''"
,
"UPDATE FormElement SET
checkType = 'alnumx', checkPattern = '',
parameter = CONCAT(parameter, '
\n
min = ', SUBSTRING_INDEX(checkPattern, '|', 1), '
\n
max = ', SUBSTRING_INDEX(checkPattern, '|', -1)) WHERE checkType LIKE 'min|max%' AND checkPattern <> ''"
,
"ALTER TABLE `FormElement` CHANGE `checkType` `checkType` ENUM('alnumx','digit','numerical','email','pattern','allbut','all') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'alnumx';"
,
],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment