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

git-svn-id: https://code.elgg.org/elgg/trunk@181 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 fa8d0f82f..c9fdbfb33 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 (`entity_id`,`object_type`, `name`)
+	UNIQUE KEY (`entity_id`,`entity_type`, `name`)
 	
 ) ENGINE=MyISAM;
 
-- 
cgit v1.2.3

