Skip to content

Commit 2e76fea

Browse files
committed
add missing prefix to query
1 parent 33f9040 commit 2e76fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/ImportCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function handle(Dispatcher $events)
5757
$query = '*';
5858
}
5959

60-
$indexer->query("SELECT $query FROM {$model->getTable()};");
60+
$indexer->query("SELECT $query FROM {$tableName};");
6161

6262
$indexer->run();
6363
$this->info('All ['.$class.'] records have been imported.');

0 commit comments

Comments
 (0)