diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-06 15:06:42 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-06 15:06:42 +0000 |
commit | 29dac199c057827876374038993da55c8c35267f (patch) | |
tree | 8409cc062309fdddaf14c7f49ab819daf71323a8 /engine/schema | |
parent | cd536030453e7390573d16bca824e6edd8d0bfa4 (diff) | |
download | elgg-29dac199c057827876374038993da55c8c35267f.tar.gz elgg-29dac199c057827876374038993da55c8c35267f.tar.bz2 |
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
Diffstat (limited to 'engine/schema')
-rw-r--r-- | engine/schema/mysql.sql | 3 | ||||
-rw-r--r-- | engine/schema/upgrades/2008100601.sql | 2 |
2 files changed, 5 insertions, 0 deletions
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 |