From 29dac199c057827876374038993da55c8c35267f Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 6 Oct 2008 15:06:42 +0000 Subject: Refs #402 and #407: Extra fields added to system_log git-svn-id: https://code.elgg.org/elgg/trunk@2188 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/schema/mysql.sql | 3 +++ engine/schema/upgrades/2008100601.sql | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 engine/schema/upgrades/2008100601.sql (limited to 'engine/schema') diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql index b756ed427..bdc711d68 100644 --- a/engine/schema/mysql.sql +++ b/engine/schema/mysql.sql @@ -282,7 +282,10 @@ CREATE TABLE `prefix_system_log` ( `id` int(11) NOT NULL auto_increment, `object_id` int(11) NOT NULL, + `object_class` varchar(128) NOT NULL, + `object_type` varchar(128) NOT NULL, + `object_subtype` varchar(128) NOT NULL, `event` varchar(128) NOT NULL, `performed_by_guid` int(11) NOT NULL, diff --git a/engine/schema/upgrades/2008100601.sql b/engine/schema/upgrades/2008100601.sql new file mode 100644 index 000000000..89cce2e0e --- /dev/null +++ b/engine/schema/upgrades/2008100601.sql @@ -0,0 +1,2 @@ +ALTER TABLE `prefix_system_log` ADD COLUMN `object_type` varchar(128) NOT NULL AFTER `object_class`; +ALTER TABLE `prefix_system_log` ADD COLUMN `object_subtype` varchar(128) NOT NULL AFTER `object_type`; \ No newline at end of file -- cgit v1.2.3