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 e6a9bb6 commit c07e0a8Copy full SHA for c07e0a8
src/Models/BaseModel.php
@@ -186,7 +186,8 @@ public function retrieveIndexesFromTable(): Collection
186
function () use ($driver): array {
187
$tableName = $this->getConnection()->getTablePrefix() . $this->getTable();
188
return DB::connection($this->getConnectionName())->select([
189
- 'mariadb', 'mysql' => 'SHOW INDEX FROM ' . $tableName,
+ 'mariadb' => 'SHOW INDEX FROM ' . $tableName,
190
+ 'mysql' => 'SHOW INDEX FROM ' . $tableName,
191
'pgsql' => "SELECT
192
array_position(ix.indkey, a.attnum) + 1 as Seq_in_index,
193
i.relname as Key_name,
0 commit comments