Skip to content
GitLab
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
f4cfb74a
Commit
f4cfb74a
authored
Jul 22, 2020
by
Marc Egger
Browse files
Refs #10120 add fileStats column to sql update and raise qfq version
parent
3a84ac5e
Pipeline
#3656
passed with stages
in 5 minutes and 3 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Classes/Core/Database/DatabaseUpdate.php
View file @
f4cfb74a
...
...
@@ -144,11 +144,6 @@ class DatabaseUpdate {
if
(
$dbUpdate
===
SYSTEM_DB_UPDATE_ALWAYS
||
(
$dbUpdate
===
SYSTEM_DB_UPDATE_AUTO
&&
$new
!=
$old
))
{
if
(
$old
!==
false
)
{
// Import files from form path. (Creates path and exports all forms to it, if it doesn't exist)
FormAsFile
::
importAllForms
(
$this
->
db
,
true
,
true
);
}
$newFunctionHash
=
$this
->
updateSqlFunctions
(
$versionInfo
[
QFQ_VERSION_KEY_FUNCTION_HASH
]
??
''
);
if
(
null
!==
$newFunctionHash
)
{
$versionInfo
[
QFQ_VERSION_KEY_FUNCTION_HASH
]
=
$newFunctionHash
;
...
...
@@ -156,6 +151,12 @@ class DatabaseUpdate {
}
$this
->
dbUpdateStatements
(
$old
,
$new
);
if
(
$old
!==
false
)
{
// Import files from form path. (Creates path and exports all forms to it, if it doesn't exist)
FormAsFile
::
importAllForms
(
$this
->
db
,
true
,
true
);
}
$this
->
db
->
playSqlFile
(
__DIR__
.
'/../../Sql/formEditor.sql'
);
$qfqLog
=
$this
->
db
->
getQfqLogFile
();
...
...
extension/Classes/Core/Database/DatabaseUpdateData.php
View file @
f4cfb74a
...
...
@@ -193,7 +193,10 @@ $UPDATE_ARRAY = array(
"ALTER TABLE `FormElement` CHANGE `label` `label` VARCHAR(1023) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';"
,
],
'20.7.0'
=>
[
"ALTER TABLE `Form` ADD `fileStats` VARCHAR(255) NOT NULL DEFAULT '' AFTER `created`;"
,
],
);
...
...
extension/ext_emconf.php
View file @
f4cfb74a
...
...
@@ -12,7 +12,7 @@ $EM_CONF[$_EXTKEY] = array(
'dependencies'
=>
'fluid,extbase'
,
'clearcacheonload'
=>
true
,
'state'
=>
'stable'
,
'version'
=>
'20.
4.1
'
,
'version'
=>
'20.
7.0
'
,
'constraints'
=>
[
'depends'
=>
[
'typo3'
=>
'7.0.0-9.2.99'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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