Updated the database migrations 3.1 -> 5.2
authorAlexander Ebert <ebert@woltlab.com>
Sun, 1 Dec 2019 21:25:37 +0000 (22:25 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 1 Dec 2019 21:25:37 +0000 (22:25 +0100)
Closes

wcfsetup/install/files/acp/update-com.woltlab.wcf_5.2.php

index cf90936e0c3aa348ed24a4e44061905b11cb898d..04d7c03226d81f370544515bca27251375d9d2fb 100644 (file)
@@ -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'),