From de2c155193c35f4e764fb09ba564be86237e3335 Mon Sep 17 00:00:00 2001 From: icewing Date: Wed, 12 Mar 2008 09:29:39 +0000 Subject: Marcus Povey * object_* changed to entity_* in metadata and annotations git-svn-id: https://code.elgg.org/elgg/trunk@178 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/schema/mysql.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engine/schema') 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, -- cgit v1.2.3