Skip to content

Commit eb8858d

Browse files
committed
Merge branch 'patch-1'
2 parents 546a4f6 + 411dc3e commit eb8858d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Schema/Builder.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ class Builder extends MySqlBuilder
1717
*/
1818
protected function createBlueprint($table, Closure $callback = null)
1919
{
20-
return new Blueprint($table, $callback);
20+
$prefix = $this->connection->getConfig('prefix_indexes')
21+
? $this->connection->getConfig('prefix')
22+
: '';
23+
24+
return new Blueprint($table, $callback, $prefix);
2125
}
2226
}

0 commit comments

Comments
 (0)