From 7944a0498a05efe5760565a68f9d8c0c8ce2751d Mon Sep 17 00:00:00 2001 From: DanielnetoDotCom Date: Thu, 14 Jan 2021 14:34:11 -0300 Subject: [PATCH] Avoid error InnoDB presently supports one FULLTEXT index creation at a time --- updatedb/updateDb.v10.1.sql | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/updatedb/updateDb.v10.1.sql b/updatedb/updateDb.v10.1.sql index 56751f17e8..7504f2d97c 100644 --- a/updatedb/updateDb.v10.1.sql +++ b/updatedb/updateDb.v10.1.sql @@ -49,11 +49,15 @@ ENGINE = InnoDB; -- add full text search https://github.com/WWBN/AVideo/issues/4343 ALTER TABLE `categories` -ADD FULLTEXT INDEX `index7cname` (`name`), +ADD FULLTEXT INDEX `index7cname` (`name`); + +ALTER TABLE `categories` ADD FULLTEXT INDEX `index8cdescr` (`description`); ALTER TABLE `videos` -ADD FULLTEXT INDEX `index17vname` (`title`), +ADD FULLTEXT INDEX `index17vname` (`title`); + +ALTER TABLE `videos` ADD FULLTEXT INDEX `index18vdesc` (`description`); UPDATE configurations SET version = '10.1', modified = now() WHERE id = 1; \ No newline at end of file