From 361bff59658e6119b76e7ff31cd67c6054c93c8f Mon Sep 17 00:00:00 2001
From: ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>
Date: Fri, 18 Jul 2008 18:23:50 +0000
Subject: Moved container_guid to entities, modified a bunch of functions.

git-svn-id: https://code.elgg.org/elgg/trunk@1473 36083f99-b078-4883-b0ff-0f9b5a30f544
---
 engine/schema/mysql.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'engine/schema/mysql.sql')

diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index a93706c73..b223984db 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -31,6 +31,7 @@ CREATE TABLE `prefix_entities` (
 	
 	`owner_guid` bigint(20) unsigned NOT NULL,
     `site_guid` bigint(20) unsigned NOT NULL,
+    `container_guid` bigint(20) unsigned NOT NULL,
 	`access_id` int(11) NOT NULL,
 	
 	`time_created` int(11) NOT NULL,
@@ -96,8 +97,7 @@ CREATE TABLE `prefix_access_collection_membership` (
 
 -- Extra information relating to "objects"
 CREATE TABLE `prefix_objects_entity` (
-  `guid` bigint(20) unsigned  NOT NULL,
-  `container_guid` bigint(20) unsigned NOT NULL,
+  `guid` bigint(20) unsigned  NOT NULL,
   
   `title` text NOT NULL,
   `description` text NOT NULL,
-- 
cgit v1.2.3

