From cc76d0a9ecb840d071bfbba1cd66f503f9dc2142 Mon Sep 17 00:00:00 2001
From: marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Date: Thu, 16 Oct 2008 12:35:43 +0000
Subject: Closes #442: Requires schema upgrade. Side effect - friends activity
 rivers will be blanked.

git-svn-id: https://code.elgg.org/elgg/trunk@2267 36083f99-b078-4883-b0ff-0f9b5a30f544
---
 engine/schema/mysql.sql | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'engine/schema/mysql.sql')

diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index 0ef2c8b8c..35c079004 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -289,6 +289,8 @@ CREATE TABLE `prefix_system_log` (
 	
 	`event` varchar(50) NOT NULL,
 	`performed_by_guid` int(11) NOT NULL,
+
+	`access_id` int(11) NOT NULL,
 	
 	`time_created` int(11) NOT NULL,
 	
@@ -299,6 +301,7 @@ CREATE TABLE `prefix_system_log` (
 	KEY `object_subtype` (`object_subtype`),
 	KEY `event` (`event`),
 	KEY `performed_by_guid` (`performed_by_guid`),
+	KEY `access_id` (`access_id`),
 	KEY `time_created` (`time_created`),
 	KEY `river_key` (`object_type`, `object_subtype`, `event`)
 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- 
cgit v1.2.3

