Error
Static analysis:
1 errors were found during analysis.
Missing comma before start of a new alter operation. (near "ADD" at position 431)
SQL query: Copy Edit
ALTER TABLE `***_menutag`.`***_commentbox_comments` ADD PRIMARY KEY (`id`), ADD KEY `idx_parent_id` (`parent_id`), ADD KEY `idx_page_id` (`page_id`), ADD KEY `idx_state` (`state`), ADD KEY `idx_flagged` (`flagged`), ADD KEY `idx_reactions` (`reactions`), ADD KEY `idx_votes` (`votes`), ADD KEY `idx_upvotes` (`upvotes`), ADD KEY `idx_downvotes` (`downvotes`), ADD KEY `idx_score` (`score`), ADD KEY `idx_created` (`created`, ADD KEY `idx_created_by` (`created_by`);
MySQL said:
#1064 - You have an error in your SQL syntax; check the manual
that corresponds to your MariaDB server version for the right syntax to
use near 'ADD KEY `idx_created_by` (`created_by`)' at line 1