mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
parent
ee10e6db3b
commit
ca91cd8e49
4 changed files with 30 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue