From 2936d7dcb16babb5d2a14501d2636657c7c2dc22 Mon Sep 17 00:00:00 2001
From: ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>
Date: Tue, 1 Jul 2008 13:10:49 +0000
Subject: Fix for the schema

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

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

diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index 08754d875..3936f3ab2 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -70,8 +70,8 @@ CREATE TABLE `prefix_entity_relationships` (
 -- *** Access controls ***
 --
 
--- Table structure for table `access_containers`
-CREATE TABLE `prefix_access_containers` (
+-- Table structure for table `access_groups`
+CREATE TABLE `prefix_access_groups` (
   `id` int(11) NOT NULL,
   `name` varchar(16) NOT NULL,
   `owner_guid` bigint(20) unsigned NOT NULL,
@@ -80,17 +80,17 @@ CREATE TABLE `prefix_access_containers` (
   KEY `name` (`name`)
 )  ;
 
--- Dumping data for table `access_containers`
-INSERT INTO `prefix_access_containers` (`id`, `name`, `site_guid`) VALUES
+-- Dumping data for table `access_groups`
+INSERT INTO `prefix_access_groups` (`id`, `name`, `site_guid`) VALUES
 (0, 'PRIVATE', 0),
 (1, 'LOGGED_IN', 0),
 (2, 'PUBLIC', 0);
 
 -- Access containers 
-CREATE TABLE `prefix_access_container_membership` (
+CREATE TABLE `prefix_access_group_membership` (
   `user_guid` int(11) NOT NULL,
-  `access_container_id` int(11) NOT NULL,
-  PRIMARY KEY  (`user_guid`,`access_container_id`)
+  `access_group_id` int(11) NOT NULL,
+  PRIMARY KEY  (`user_guid`,`access_group_id`)
 )  ;
 
 
-- 
cgit v1.2.3

