aboutsummaryrefslogtreecommitdiff
path: root/engine/schema
diff options
context:
space:
mode:
Diffstat (limited to 'engine/schema')
-rw-r--r--engine/schema/mysql.sql3
-rw-r--r--engine/schema/upgrades/2008100601.sql2
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