Preparing the release 5.2.0 Alpha 2
authorAlexander Ebert <ebert@woltlab.com>
Thu, 18 Jul 2019 15:04:31 +0000 (17:04 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 18 Jul 2019 15:04:31 +0000 (17:04 +0200)
com.woltlab.wcf/package.xml
com.woltlab.wcf/update_5.2.0_alpha_2.sql [new file with mode: 0644]
wcfsetup/install/files/lib/system/WCF.class.php

index 14b64105aa2c0c6d04bc55766cb28f16daf38ff2..9b5a151c6f342ff306c64a2a8cc2d08e652b7c16 100644 (file)
@@ -5,8 +5,8 @@
                <packagedescription>Free CMS and web-framework, designed for awesome websites and communities.</packagedescription>
                <packagedescription language="de">Freies CMS und Web-Framework, das eindrucksvolle Websites und Communities ermöglicht.</packagedescription>
                <isapplication>1</isapplication>
-               <version>5.2.0 Alpha 1</version> <!-- codename: hurricane -->
-               <date>2019-01-01</date>
+               <version>5.2.0 Alpha 2</version> <!-- codename: hurricane -->
+               <date>2019-07-18</date>
        </packageinformation>
        
        <authorinformation>
                
                <instruction type="script">acp/post_install.php</instruction>
        </instructions>
+       
+       <instructions type="update" fromversion="5.2.0 Alpha 1">
+               <instruction type="acpTemplate">acptemplates_update.tar</instruction>
+               <instruction type="file">files_update.tar</instruction>
+               <instruction type="template">templates_update.tar</instruction>
+               
+               <instruction type="sql" run="standalone">update_5.2.0_alpha_2.sql</instruction>
+               
+               <instruction type="language" />
+               
+               <instruction type="box" />
+               <instruction type="objectType" />
+               <instruction type="option" />
+               <instruction type="page" />
+       </instructions>
 </package>
diff --git a/com.woltlab.wcf/update_5.2.0_alpha_2.sql b/com.woltlab.wcf/update_5.2.0_alpha_2.sql
new file mode 100644 (file)
index 0000000..4b63d84
--- /dev/null
@@ -0,0 +1,11 @@
+ALTER TABLE wcf1_like_object DROP COLUMN neutralReactions;
+
+ALTER TABLE wcf1_reaction_type DROP COLUMN type;
+
+ALTER TABLE wcf1_user DROP KEY positiveReactionsReceived;
+ALTER TABLE wcf1_user DROP KEY negativeReactionsReceived;
+ALTER TABLE wcf1_user DROP KEY neutralReactionsReceived;
+
+ALTER TABLE wcf1_user DROP COLUMN positiveReactionsReceived;
+ALTER TABLE wcf1_user DROP COLUMN negativeReactionsReceived;
+ALTER TABLE wcf1_user DROP COLUMN neutralReactionsReceived;
index 418180f678bdf969c17229610ebb6d6d36dbc972..95a49916cd990968c034fd2a51c6026fc31a0585 100644 (file)
@@ -48,7 +48,7 @@ if (!@ini_get('date.timezone')) {
 }
 
 // define current woltlab suite version
-define('WCF_VERSION', '5.2.0 Alpha 1');
+define('WCF_VERSION', '5.2.0 Alpha 2');
 
 // define current API version
 define('WSC_API_VERSION', 2019);