From: Tim Düsterhus Date: Mon, 23 Nov 2020 15:55:18 +0000 (+0100) Subject: Add wcf1_user_multifactor_email to update_com.woltlab.wcf_5.4_db.php X-Git-Tag: 5.4.0_Alpha_1~555^2~37 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c7640d62a174ee143ff806ad3d612201cdc64025;p=GitHub%2FWoltLab%2FWCF.git Add wcf1_user_multifactor_email to 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 b81521451e..48e76b5ce6 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 @@ -78,6 +78,18 @@ $tables = [ ->type(DatabaseTableIndex::UNIQUE_TYPE) ->columns(['setupID', 'identifier']), ]), + + DatabaseTable::create('wcf1_user_multifactor_email') + ->columns([ + NotNullInt10DatabaseTableColumn::create('setupID'), + NotNullVarchar255DatabaseTableColumn::create('code'), + NotNullInt10DatabaseTableColumn::create('createTime'), + ]) + ->indices([ + DatabaseTableIndex::create() + ->type(DatabaseTableIndex::UNIQUE_TYPE) + ->columns(['setupID', 'code']), + ]), DatabaseTable::create('wcf1_user_multifactor_totp') ->columns([