Skip to content

Commit

Permalink
Fix errors in basic.sql
Browse files Browse the repository at this point in the history
Leave sitedetails as a MyISAM table (as the row gets too long for InnoDB
  • Loading branch information
torinfo committed Mar 9, 2023
1 parent 77cab1e commit 156f8fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup/basic.sql
Expand Up @@ -173,7 +173,7 @@ CREATE TABLE `$sitedetails` (
`globalhidesocial` char(255) DEFAULT 'false',
`globalsocialauth` char(255) DEFAULT 'true',
PRIMARY KEY (`site_id`)
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE `$syndicationcategories` (
`category_id` int(11) NOT NULL AUTO_INCREMENT,
Expand Down Expand Up @@ -305,7 +305,7 @@ CREATE TABLE `$folderrights` (
`login_id` int(11) NOT NULL,
`folder_parent` int(11) NOT NULL,
`role` char(255) DEFAULT NULL,
PRIMARY KEY (`id`)
PRIMARY KEY (`id`),
KEY `index1` (`folder_id`,`login_id`,`role`(10))
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

Expand All @@ -325,7 +325,7 @@ CREATE TABLE IF NOT EXISTS `$oai_publish` (
`status` VARCHAR(10),
`timestamp` TIMESTAMP,
PRIMARY KEY (`audith_id`)
)
) DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `$lti_context` (
`lti_context_key` varchar(255) NOT NULL,
Expand Down

0 comments on commit 156f8fc

Please sign in to comment.