From c6299905a4f25b763fc2469b1a59e6405dee11a8 Mon Sep 17 00:00:00 2001
From: cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Date: Thu, 12 Nov 2009 01:21:08 +0000
Subject: fixes #1329 - schema for river is fixed - was incomplete before

git-svn-id: http://code.elgg.org/elgg/trunk@3667 36083f99-b078-4883-b0ff-0f9b5a30f544
---
 engine/schema/upgrades/2009091901.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'engine/schema/upgrades/2009091901.sql')

diff --git a/engine/schema/upgrades/2009091901.sql b/engine/schema/upgrades/2009091901.sql
index 7182c7f76..074d042c3 100644
--- a/engine/schema/upgrades/2009091901.sql
+++ b/engine/schema/upgrades/2009091901.sql
@@ -1,2 +1,3 @@
 -- add an additional column to the river table
-ALTER TABLE `prefix_river` ADD COLUMN `annotation_id` int(11) NOT NULL AFTER `posted`;
\ No newline at end of file
+ALTER TABLE `prefix_river` ADD COLUMN `annotation_id` int(11) NOT NULL AFTER `object_guid`;
+ALTER TABLE `prefix_river` ADD KEY `annotation_id` (`annotation_id`);
\ No newline at end of file
-- 
cgit v1.2.3

