</instructions>
<instructions type="update" fromversion="2.0.0 Alpha 1">
+ <instruction type="sql">update_b1.sql</instruction>
+ <instruction type="script">acp/update_4.0.0_b1.php</instruction>
+ <instruction type="sql">update_post_b1.sql</instruction>
+
<instruction type="acpTemplate">acptemplates_update.tar</instruction>
<instruction type="file">files_update.tar</instruction>
<instruction type="template">template.tar</instruction>
<instruction type="clipboardAction">clipboardAction.xml</instruction>
<instruction type="coreObject">coreObject.xml</instruction>
<instruction type="option">option.xml</instruction>
- <instruction type="sql">update_b1.sql</instruction>
<instruction type="userGroupOption">userGroupOption.xml</instruction>
</instructions>
</package>
-/* 6570e38 */
+ALTER TABLE wcf1_acp_template ADD COLUMN application VARCHAR(255) NOT NULL;
+
+ALTER TABLE wcf1_package_installation_file_log ADD COLUMN application VARCHAR(255) NOT NULL;
+
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 ADD FOREIGN KEY (parentTemplateGroupID) REFERENCES wcf1_template_group (templateGroupID) ON DELETE SET NULL;
\ No newline at end of file
--- /dev/null
+ALTER TABLE wcf1_acp_template ADD UNIQUE KEY applicationTemplate (application, templateName);
+
+ALTER TABLE wcf1_package_installation_file_log ADD UNIQUE KEY applicationFile (application, filename);
+
+ALTER TABLE wcf1_template ADD UNIQUE KEY applicationTemplate (application, templateGroupID templateName);
\ No newline at end of file