From f2c0379fa6457d7a357d84f565f96114f3694c09 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 1 Dec 2019 22:25:37 +0100 Subject: [PATCH] Updated the database migrations 3.1 -> 5.2 Closes --- wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.php b/wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.php index cf90936e0c..04d7c03226 100644 --- a/wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.php +++ b/wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.php @@ -147,6 +147,13 @@ $tables = [ ->onDelete('SET NULL') ]), + DatabaseTable::create('wcf1_package') + ->indices([ + DatabaseTableIndex::create('package') + ->type(DatabaseTableIndex::UNIQUE_TYPE) + ->columns(['package']) + ]), + DatabaseTable::create('wcf1_reaction_type') ->columns([ ObjectIdDatabaseTableColumn::create('reactionTypeID'), -- 2.20.1