aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-12 09:29:39 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-12 09:29:39 +0000
commitde2c155193c35f4e764fb09ba564be86237e3335 (patch)
tree695c1bd756f35483d8004220a8603ed82fea1391 /engine
parenta736690de481b6dadbcbac6f2f5a1f2f75115ddf (diff)
downloadelgg-de2c155193c35f4e764fb09ba564be86237e3335.tar.gz
elgg-de2c155193c35f4e764fb09ba564be86237e3335.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* object_* changed to entity_* in metadata and annotations git-svn-id: https://code.elgg.org/elgg/trunk@178 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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,