aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-12 10:40:04 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-12 10:40:04 +0000
commit2f3dbb62f718fdc5169aed5b1960f2cf4f7dc0a6 (patch)
treee96038d551079791ff2bbb871a2bfebf9a818873
parentdb8bdea8f4ce480cb10db3a21a5cd404bb334960 (diff)
downloadelgg-2f3dbb62f718fdc5169aed5b1960f2cf4f7dc0a6.tar.gz
elgg-2f3dbb62f718fdc5169aed5b1960f2cf4f7dc0a6.tar.bz2
Fixing incorrect primary key
git-svn-id: https://code.elgg.org/elgg/trunk@181 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/schema/mysql.sql2
1 files changed, 1 insertions, 1 deletions
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;