aboutsummaryrefslogtreecommitdiff
path: root/engine/schema/upgrades
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-12 01:21:08 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-12 01:21:08 +0000
commitc6299905a4f25b763fc2469b1a59e6405dee11a8 (patch)
treef4640e7537a2003a10706086c1d5718379369655 /engine/schema/upgrades
parent739ba4e2e92c62ebb768cf49b7eedd464014d616 (diff)
downloadelgg-c6299905a4f25b763fc2469b1a59e6405dee11a8.tar.gz
elgg-c6299905a4f25b763fc2469b1a59e6405dee11a8.tar.bz2
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
Diffstat (limited to 'engine/schema/upgrades')
-rw-r--r--engine/schema/upgrades/2009091901.sql3
1 files changed, 2 insertions, 1 deletions
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