<instruction type="template" />
<instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_session_3_drop_virtual.php</instruction>
- <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_session_4_clean_acp_session.php</instruction>
+ <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_session_4_clean_session.php</instruction>
<instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_db.php</instruction>
<instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_removeFiles.php</instruction>
+++ /dev/null
-<?php
-
-use wcf\system\database\table\column\MediumblobDatabaseTableColumn;
-use wcf\system\database\table\column\NotNullVarchar255DatabaseTableColumn;
-use wcf\system\database\table\column\VarcharDatabaseTableColumn;
-use wcf\system\database\table\DatabaseTableChangeProcessor;
-use wcf\system\database\table\index\DatabaseTableIndex;
-use wcf\system\database\table\PartialDatabaseTable;
-use wcf\system\WCF;
-
-/**
- * Adjusts wcf1_acp_session and wcf1_acp_session_access_log.
- *
- * @author Tim Duesterhus
- * @copyright 2001-2020 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package WoltLabSuite\Core
- */
-
-$tables = [
- PartialDatabaseTable::create('wcf1_acp_session')
- ->columns([
- VarcharDatabaseTableColumn::create('requestURI')->drop(),
- VarcharDatabaseTableColumn::create('requestMethod')->drop(),
- MediumblobDatabaseTableColumn::create('sessionVariables'),
- ])
- ->indices([
- DatabaseTableIndex::create()
- ->columns(['userID']),
- DatabaseTableIndex::create()
- ->columns(['lastActivityTime']),
- ]),
- PartialDatabaseTable::create('wcf1_acp_session_access_log')
- ->columns([
- NotNullVarchar255DatabaseTableColumn::create('requestMethod')
- ->defaultValue(''),
- ])
-];
-
-(new DatabaseTableChangeProcessor(
-/** @var ScriptPackageInstallationPlugin $this */
- $this->installation->getPackage(),
- $tables,
- WCF::getDB()->getEditor())
-)->process();
--- /dev/null
+<?php
+
+use wcf\system\database\table\column\MediumblobDatabaseTableColumn;
+use wcf\system\database\table\column\NotNullVarchar255DatabaseTableColumn;
+use wcf\system\database\table\column\VarcharDatabaseTableColumn;
+use wcf\system\database\table\DatabaseTableChangeProcessor;
+use wcf\system\database\table\index\DatabaseTableIndex;
+use wcf\system\database\table\PartialDatabaseTable;
+use wcf\system\WCF;
+
+/**
+ * Adjusts wcf1_acp_session, wcf1_acp_session_access_log and wcf1_session.
+ *
+ * @author Tim Duesterhus
+ * @copyright 2001-2020 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core
+ */
+
+$tables = [
+ PartialDatabaseTable::create('wcf1_acp_session')
+ ->columns([
+ VarcharDatabaseTableColumn::create('requestURI')->drop(),
+ VarcharDatabaseTableColumn::create('requestMethod')->drop(),
+ MediumblobDatabaseTableColumn::create('sessionVariables'),
+ ])
+ ->indices([
+ DatabaseTableIndex::create()
+ ->columns(['userID']),
+ DatabaseTableIndex::create()
+ ->columns(['lastActivityTime']),
+ ]),
+ PartialDatabaseTable::create('wcf1_acp_session_access_log')
+ ->columns([
+ NotNullVarchar255DatabaseTableColumn::create('requestMethod')
+ ->defaultValue(''),
+ ]),
+ PartialDatabaseTable::create('wcf1_session')
+ ->columns([
+ MediumblobDatabaseTableColumn::create('sessionVariables')->drop(),
+ ]),
+];
+
+(new DatabaseTableChangeProcessor(
+/** @var ScriptPackageInstallationPlugin $this */
+ $this->installation->getPackage(),
+ $tables,
+ WCF::getDB()->getEditor())
+)->process();
parentPageID INT(10),
parentPageObjectID INT(10),
spiderID INT(10),
- sessionVariables MEDIUMTEXT,
KEY packageID (lastActivityTime, spiderID),
KEY pageID (pageID, pageObjectID),
KEY parentPageID (parentPageID, parentPageObjectID),