From: Alexander Ebert Date: Sun, 19 May 2013 20:37:15 +0000 (+0200) Subject: SQLParser only supports the CREATE INDEX syntax X-Git-Tag: 2.0.0_Beta_1~141^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=28ae27806adaba18cf2a374d9521a8721662e61a;p=GitHub%2FWoltLab%2FWCF.git SQLParser only supports the CREATE INDEX syntax --- diff --git a/com.woltlab.wcf/update_post_b1.sql b/com.woltlab.wcf/update_post_b1.sql index bfe01e448e..ef35bd8a0e 100644 --- a/com.woltlab.wcf/update_post_b1.sql +++ b/com.woltlab.wcf/update_post_b1.sql @@ -1,5 +1,5 @@ -ALTER TABLE wcf1_acp_template ADD UNIQUE KEY applicationTemplate (application, templateName); +CREATE UNIQUE INDEX applicationTemplate ON wcf1_acp_template (application, templateName); -ALTER TABLE wcf1_package_installation_file_log ADD UNIQUE KEY applicationFile (application, filename); +CREATE UNIQUE INDEX applicationFile ON wcf1_package_installation_file_log (application, filename); -ALTER TABLE wcf1_template ADD UNIQUE KEY applicationTemplate (application, templateGroupID templateName); \ No newline at end of file +CREATE UNIQUE INDEX applicationTemplate ON wcf1_template (application, templateGroupID templateName);