From 66e633335978c7c56263baa3e313c09df8b498cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 27 Nov 2020 10:52:34 +0100 Subject: [PATCH] Fix MFA SQL update instructions in update_com.woltlab.wcf_5.4_db.php --- wcfsetup/install/files/acp/update_com.woltlab.wcf_5.4_db.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.4_db.php b/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.4_db.php index 506c389907..e818cffc46 100644 --- a/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.4_db.php +++ b/wcfsetup/install/files/acp/update_com.woltlab.wcf_5.4_db.php @@ -58,7 +58,7 @@ $tables = [ ]) ->indices([ DatabaseTablePrimaryIndex::create() - ->columns(['logID']), + ->columns(['setupID']), DatabaseTableIndex::create() ->type(DatabaseTableIndex::UNIQUE_TYPE) ->columns(['userID', 'objectTypeID']), @@ -128,8 +128,9 @@ $tables = [ ->length(255), NotNullInt10DatabaseTableColumn::create('minCounter'), NotNullInt10DatabaseTableColumn::create('createTime'), - IntDatabaseTableColumn::create('createTime') + IntDatabaseTableColumn::create('useTime') ->length(10) + ->notNull(false) ->defaultValue(null), ]) ->indices([ -- 2.20.1