<interfacename><![CDATA[wcf\data\like\ILikeObjectTypeProvider]]></interfacename>
</definition>
+ <definition>
+ <name>com.woltlab.wcf.edit.historySavingObject</name>
+ <interfacename><![CDATA[wcf\system\edit\IHistorySavingObjectTypeProvider]]></interfacename>
+ </definition>
+
<definition>
<name>com.woltlab.wcf.comment.commentableContent</name>
<interfacename><![CDATA[wcf\system\comment\manager\ICommentManager]]></interfacename>
UNIQUE KEY dashboardOption (objectTypeID, boxID)
);
+DROP TABLE IF EXISTS wcf1_edit_history_entry;
+CREATE TABLE wcf1_edit_history_entry (
+ entryID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
+ objectTypeID INT(10) NOT NULL,
+ objectID INT(10) NOT NULL,
+ userID INT(10),
+ username VARCHAR(255) NOT NULL DEFAULT '',
+ time INT(10) NOT NULL DEFAULT 0,
+ message MEDIUMTEXT,
+ editReason TEXT,
+
+ KEY (objectTypeID, objectID)
+);
+
DROP TABLE IF EXISTS wcf1_event_listener;
CREATE TABLE wcf1_event_listener (
listenerID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
ALTER TABLE wcf1_cronjob_log ADD FOREIGN KEY (cronjobID) REFERENCES wcf1_cronjob (cronjobID) ON DELETE CASCADE;
+ALTER TABLE wcf1_edit_history_entry ADD FOREIGN KEY (objectTypeID) REFERENCES wcf1_object_type (objectTypeID) ON DELETE CASCADE;
+ALTER TABLE wcf1_edit_history_entry ADD FOREIGN KEY (userID) REFERENCES wcf1_user (userID) ON DELETE SET NULL;
+
ALTER TABLE wcf1_event_listener ADD FOREIGN KEY (packageID) REFERENCES wcf1_package (packageID) ON DELETE CASCADE;
ALTER TABLE wcf1_language_item ADD FOREIGN KEY (languageID) REFERENCES wcf1_language (languageID) ON DELETE CASCADE;