Skip to content

Commit 5736a2c

Browse files
authored
Update GeneratorCommand.php
1 parent 2394eee commit 5736a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/GeneratorCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ protected function buildLayout(): void
357357
protected function getColumns()
358358
{
359359
if (empty($this->tableColumns)) {
360-
$this->tableColumns = Schema::getColumnListing($this->table);
360+
$this->tableColumns = DB::select('SHOW COLUMNS FROM ' . $this->table);
361361
}
362362

363363
return $this->tableColumns;

0 commit comments

Comments
 (0)