File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ public function prepareBindings(array $bindings)
108
108
109
109
protected function getDefaultSchemaGrammar ()
110
110
{
111
- return $ this ->withTablePrefix (new PostgresGrammar ());
111
+ return $ this ->withTablePrefix (new PostgresGrammar ($ this ));
112
112
}
113
113
114
114
private function registerInitialTypes (): void
Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ public function getViewDefinition($view): string
71
71
*/
72
72
protected function createBlueprint ($ table , Closure $ callback = null )
73
73
{
74
- return new Blueprint ($ table , $ callback );
74
+ $ blueprint = new Blueprint ($ this ->connection , $ this ->grammar );
75
+ $ blueprint ->setTable ($ table );
76
+ // @todo apply $callback
77
+ return $ blueprint ;
75
78
}
76
79
}
You can’t perform that action at this time.
0 commit comments