Commit 7ead1796 authored by Franz Liedke's avatar Franz Liedke

Apply prefix to foreign key's "on" attribute, too.

parent d9802fe6
......@@ -21,7 +21,7 @@ abstract class Grammar extends \Laravel\Database\Grammar {
// command is being executed and the referenced table are wrapped.
$table = $this->wrap($table);
$on = $this->wrap($command->on);
$on = $this->wrap_table($command->on);
// Next we need to columnize both the command table's columns as well as
// the columns referenced by the foreign key. We'll cast the referenced
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment