diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-12 10:39:08 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-12 10:39:08 +0000 |
commit | db8bdea8f4ce480cb10db3a21a5cd404bb334960 (patch) | |
tree | 4ea51aaa1a9e45fb0f3d39c12d780d3d5a212402 /engine/schema | |
parent | 5eb30685c8da7911fe9f48c708f9d7a99b0abe39 (diff) | |
download | elgg-db8bdea8f4ce480cb10db3a21a5cd404bb334960.tar.gz elgg-db8bdea8f4ce480cb10db3a21a5cd404bb334960.tar.bz2 |
Fixing incorrect primary key
git-svn-id: https://code.elgg.org/elgg/trunk@180 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/schema')
-rw-r--r-- | engine/schema/mysql.sql | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|