From: Alexander Ebert Date: Wed, 12 Nov 2014 22:36:21 +0000 (+0100) Subject: Removing obsolete foreign key X-Git-Tag: 2.1.0_Alpha_1~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=891eb4f5d166172a6e0a548466eb56b4c6bd8625;p=GitHub%2FWoltLab%2FWCF.git Removing obsolete foreign key --- diff --git a/com.woltlab.wcf/update_2.1.0_alpha_1.sql b/com.woltlab.wcf/update_2.1.0_alpha_1.sql index 2558d87b25..f31212d57f 100644 --- a/com.woltlab.wcf/update_2.1.0_alpha_1.sql +++ b/com.woltlab.wcf/update_2.1.0_alpha_1.sql @@ -215,6 +215,7 @@ ALTER TABLE wcf1_user_notification ADD mailNotified TINYINT(1) NOT NULL DEFAULT ALTER TABLE wcf1_user_notification ADD confirmed TINYINT(1) NOT NULL DEFAULT 0; ALTER TABLE wcf1_user_notification ADD baseObjectID INT(10) NOT NULL DEFAULT 0; ALTER TABLE wcf1_user_notification ADD KEY (userID, eventID, objectID, confirmed); +ALTER TABLE wcf1_user_notification DROP FOREIGN KEY packageID; ALTER TABLE wcf1_user_notification DROP KEY packageID; ALTER TABLE wcf1_user_notification_to_user DROP mailNotified;