Commit f4cfb74a authored by Marc Egger's avatar Marc Egger

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
......@@ -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();
......
......@@ -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`;",
],
);
......
......@@ -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',
......
Markdown is supported
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