aboutsummaryrefslogtreecommitdiff
path: root/engine/schema
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-17 16:45:19 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-17 16:45:19 +0000
commit2ed91ced7f9885b739bbb5439b12d8df7dec5543 (patch)
tree1cf57243b3e82c8f2f906ef63e5dd21f9e5f5e4a /engine/schema
parentfad8b55e9aa036489c80e1d97ca78a5d3f4c5a8f (diff)
downloadelgg-2ed91ced7f9885b739bbb5439b12d8df7dec5543.tar.gz
elgg-2ed91ced7f9885b739bbb5439b12d8df7dec5543.tar.bz2
access_groups -> access_collections
git-svn-id: https://code.elgg.org/elgg/trunk@1459 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/schema')
-rw-r--r--engine/schema/mysql.sql14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index a0fc6a0ff..5fb346918 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_groups`
-CREATE TABLE `prefix_access_groups` (
+-- Table structure for table `access_collections`
+CREATE TABLE `prefix_access_collections` (
`id` int(11) NOT NULL,
`name` varchar(16) NOT NULL,
`owner_guid` bigint(20) unsigned NOT NULL,
@@ -80,18 +80,18 @@ CREATE TABLE `prefix_access_groups` (
KEY `name` (`name`)
) ;
--- Dumping data for table `access_groups`
-INSERT INTO `prefix_access_groups` (`id`, `name`, `site_guid`) VALUES
+-- Dumping data for table `access_collections`
+INSERT INTO `prefix_access_collections` (`id`, `name`, `site_guid`) VALUES
(0, 'PRIVATE', 0),
(1, 'LOGGED_IN', 0),
(2, 'PUBLIC', 0);
-- Access containers
-CREATE TABLE `prefix_access_group_membership` (
+CREATE TABLE `prefix_access_collection_membership` (
`user_guid` int(11) NOT NULL,
- `access_group_id` int(11) NOT NULL,
- PRIMARY KEY (`user_guid`,`access_group_id`)
+ `access_collection_id` int(11) NOT NULL,
+ PRIMARY KEY (`user_guid`,`access_collection_id`)
) ;