From aa527e5302d3bc6aa6b4ca3b012964c8da6fc44d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 26 Nov 2013 14:22:24 +0100 Subject: [PATCH] Fixed typo in SQL update --- com.woltlab.wcf/update_rc3.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.woltlab.wcf/update_rc3.sql b/com.woltlab.wcf/update_rc3.sql index 91e3e23d90..74e0d0b4f1 100644 --- a/com.woltlab.wcf/update_rc3.sql +++ b/com.woltlab.wcf/update_rc3.sql @@ -1,3 +1,3 @@ /* d2fbb3b */ ALTER TABLE wcf1_user_rank CHANGE groupID groupID INT(10) NOT NULL; -ALTER TABLE wcf1_user_rank ADD FOREIGN KEY (groupID) REFERENCES wcf1_user_group ON DELETE CASCADE; +ALTER TABLE wcf1_user_rank ADD FOREIGN KEY (groupID) REFERENCES wcf1_user_group (groupID) ON DELETE CASCADE; -- 2.20.1