aboutsummaryrefslogtreecommitdiff
path: root/engine/schema
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-13 16:38:06 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-13 16:38:06 +0000
commitd317d085286f215e67244688d4b5af3f7b1348d0 (patch)
treec667c393fb4aada13c7f6b54e5698d2d63e8ccfa /engine/schema
parentd0cee489037f5f3c1272458a7d28833774545ffe (diff)
downloadelgg-d317d085286f215e67244688d4b5af3f7b1348d0.tar.gz
elgg-d317d085286f215e67244688d4b5af3f7b1348d0.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Added access groups git-svn-id: https://code.elgg.org/elgg/trunk@207 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/schema')
-rw-r--r--engine/schema/mysql.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index adb33318b..d42168f89 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -73,6 +73,14 @@ INSERT INTO `prefix_access_groups` (`id`, `name`, `site_guid`) VALUES
(1, 'LOGGED_IN', 0),
(2, 'PUBLIC', 0);
+-- Access groups
+CREATE TABLE `prefix_access_group_membership` (
+ `user_guid` int(11) NOT NULL,
+ `access_group_id` int(11) NOT NULL,
+ PRIMARY KEY (`user_id`,`access_group_id`)
+) ENGINE=MyISAM ;
+
+
--
-- *** Entity superclass details ***
-- NB: Asside from GUID, these should now have any field names incommon with the entities table.