aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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`)