break;
case 'logFiles':
- $this->calcProgress(11);
+ $this->calcProgress(14);
$this->logFiles();
break;
case 'installLanguage':
- $this->calcProgress(12);
+ $this->calcProgress(15);
$this->installLanguage();
break;
case 'createUser':
- $this->calcProgress(13);
+ $this->calcProgress(16);
$this->createUser();
break;
case 'installPackages':
- $this->calcProgress(14);
+ $this->calcProgress(17);
$this->installPackages();
break;
}
UNIQUE KEY packageID (packageID, sqlTable, sqlColumn, sqlIndex)
);
+/* SQL_PARSER_OFFSET */
+
DROP TABLE IF EXISTS wcf1_package_requirement;
CREATE TABLE wcf1_package_requirement (
packageID INT(10) NOT NULL,
ALTER TABLE wcf1_package_installation_sql_log ADD FOREIGN KEY (packageID) REFERENCES wcf1_package (packageID) ON DELETE CASCADE;
+/* SQL_PARSER_OFFSET */
+
ALTER TABLE wcf1_package_requirement ADD FOREIGN KEY (packageID) REFERENCES wcf1_package (packageID) ON DELETE CASCADE;
ALTER TABLE wcf1_package_requirement ADD FOREIGN KEY (requirement) REFERENCES wcf1_package (packageID) ON DELETE CASCADE;
ALTER TABLE wcf1_user_profile_menu_item ADD FOREIGN KEY (packageID) REFERENCES wcf1_package (packageID) ON DELETE CASCADE;
+/* SQL_PARSER_OFFSET */
+
ALTER TABLE wcf1_user_rank ADD FOREIGN KEY (groupID) REFERENCES wcf1_user_group (groupID) ON DELETE SET NULL;
ALTER TABLE wcf1_user_activity_event ADD FOREIGN KEY (objectTypeID) REFERENCES wcf1_object_type (objectTypeID) ON DELETE CASCADE;