1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 07:09:43 +02:00

Set explicit MySQL InnoDB engine

Closes #142
This commit is contained in:
McMatts 2018-03-30 22:12:18 +01:00
parent ee10e6db3b
commit ca91cd8e49
4 changed files with 30 additions and 18 deletions

View file

@ -44,6 +44,7 @@ CREATE TABLE IF NOT EXISTS `search` (
FULLTEXT INDEX `idx_search_content` (`content`))
DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
ENGINE = MyISAM;
-- FULLTEXT search requires MyISAM and NOT InnoDB
-- migrate page content
INSERT INTO search (orgid, documentid, itemid, itemtype, content) SELECT orgid, documentid, id AS itemid, 'page' AS itemtype, TRIM(body) AS content FROM search_old;