diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-12 09:29:39 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-12 09:29:39 +0000 |
commit | de2c155193c35f4e764fb09ba564be86237e3335 (patch) | |
tree | 695c1bd756f35483d8004220a8603ed82fea1391 /engine/schema | |
parent | a736690de481b6dadbcbac6f2f5a1f2f75115ddf (diff) | |
download | elgg-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/schema')
-rw-r--r-- | engine/schema/mysql.sql | 8 |
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,
|