aboutsummaryrefslogtreecommitdiff
path: root/engine/schema/mysql.sql
diff options
context:
space:
mode:
Diffstat (limited to 'engine/schema/mysql.sql')
-rw-r--r--engine/schema/mysql.sql8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index ce3778d71..47667bbe0 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -187,8 +187,8 @@ CREATE TABLE `prefix_friends` (
CREATE TABLE `prefix_annotations` (
`id` int(11) NOT NULL auto_increment,
- `object_id` int(11) NOT NULL,
- `object_type` enum ('object', 'user', 'collection', 'site') NOT NULL,
+ `entity_id` int(11) NOT NULL,
+ `entity_type` enum ('object', 'user', 'collection', 'site') NOT NULL,
`name` varchar(255) NOT NULL,
`value` text NOT NULL,
@@ -208,8 +208,8 @@ CREATE TABLE `prefix_annotations` (
CREATE TABLE `prefix_metadata` (
`id` int(11) NOT NULL auto_increment,
- `object_id` int(11) NOT NULL,
- `object_type` enum ('object', 'user', 'collection', 'site') NOT NULL,
+ `entity_id` int(11) NOT NULL,
+ `entity_type` enum ('object', 'user', 'collection', 'site') NOT NULL,
`name` varchar(255) NOT NULL,
`value` int(11) NOT NULL,