From: Alexander Ebert Date: Sun, 19 May 2013 19:33:58 +0000 (+0200) Subject: Fixed update SQL X-Git-Tag: 2.0.0_Beta_1~141^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a23fb022d1e8466bf04814c9d25f8a124fa32842;p=GitHub%2FWoltLab%2FWCF.git Fixed update SQL --- diff --git a/com.woltlab.wcf/update_b1.sql b/com.woltlab.wcf/update_b1.sql index 2d12911b4c..ffd6dd0f9e 100644 --- a/com.woltlab.wcf/update_b1.sql +++ b/com.woltlab.wcf/update_b1.sql @@ -6,5 +6,5 @@ ALTER TABLE wcf1_template DROP COLUMN obsolete; ALTER TABLE wcf1_template ADD COLUMN application VARCHAR(255) NOT NULL; ALTER TABLE wcf1_template ADD COLUMN lastModificationTime INT(10) NOT NULL DEFAULT 0; -ALTER TABLE wcf1_template_group CHANGE parentTemplateGroupID INT(10) NULL; +ALTER TABLE wcf1_template_group CHANGE parentTemplateGroupID parentTemplateGroupID INT(10) NULL; ALTER TABLE wcf1_template_group ADD FOREIGN KEY (parentTemplateGroupID) REFERENCES wcf1_template_group (templateGroupID) ON DELETE SET NULL; \ No newline at end of file