aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-13 16:42:19 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-13 16:42:19 +0000
commit0d3c18f6aabb988527d59732882c5f407ab7d04f (patch)
treee74808e73f690dfd66ede079a355e89fb2be535b
parent3a3603a70356e994b695224c234f7d4980458864 (diff)
downloadelgg-0d3c18f6aabb988527d59732882c5f407ab7d04f.tar.gz
elgg-0d3c18f6aabb988527d59732882c5f407ab7d04f.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Access control fields ok git-svn-id: https://code.elgg.org/elgg/trunk@209 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/schema/mysql.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index d42168f89..4d74fae8c 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -77,7 +77,7 @@ INSERT INTO `prefix_access_groups` (`id`, `name`, `site_guid`) VALUES
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`)
+ PRIMARY KEY (`user_guid`,`access_group_id`)
) ENGINE=MyISAM ;
@@ -102,7 +102,7 @@ CREATE TABLE `prefix_sites_entity` (
`name` text NOT NULL,
`description` text NOT NULL,
- `url` text NOT NULL,
+ `url` varchar(255) NOT NULL,
PRIMARY KEY (`guid`),
UNIQUE KEY (`url`)