From db8bdea8f4ce480cb10db3a21a5cd404bb334960 Mon Sep 17 00:00:00 2001
From: ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>
Date: Wed, 12 Mar 2008 10:39:08 +0000
Subject: Fixing incorrect primary key

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

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

diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index 47667bbe0..fa8d0f82f 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -221,7 +221,7 @@ CREATE TABLE `prefix_metadata` (
 	`access_id` int(11) NOT NULL,
 	
 	PRIMARY KEY (`id`),
-	UNIQUE KEY (`object_id`,`object_type`, `name`)
+	UNIQUE KEY (`entity_id`,`object_type`, `name`)
 	
 ) ENGINE=MyISAM;
 
-- 
cgit v1.2.3

