aboutsummaryrefslogtreecommitdiff
path: root/engine/schema
diff options
context:
space:
mode:
Diffstat (limited to 'engine/schema')
-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 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;