We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4073770 commit 2a36d34Copy full SHA for 2a36d34
src/Services/IndexService.php
@@ -64,7 +64,9 @@ protected function createIndex()
64
{
65
$indexName = $this->modelService->indexName;
66
$tableName = $this->modelService->tableName;
67
- $indexFields = implode(',', $this->modelService->getFullTextIndexFields());
+ $indexFields = implode(',', array_map(function($indexField) {
68
+ return "`$indexField`";
69
+ }, $this->modelService->getFullTextIndexFields()));
70
71
if (empty($indexFields)) {
72
return;
0 commit comments