From: Tim Düsterhus Date: Fri, 27 Nov 2020 09:52:34 +0000 (+0100) Subject: Fix MFA SQL update instructions in update_com.woltlab.wcf_5.4_db.php X-Git-Tag: 5.4.0_Alpha_1~555^2~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=66e633335978c7c56263baa3e313c09df8b498cc;p=GitHub%2FWoltLab%2FWCF.git Fix MFA SQL update instructions in update_com.woltlab.wcf_5.4_db.php --- 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([