diff options
Diffstat (limited to 'vendor/illuminate/support/Facades/Schema.php')
| -rwxr-xr-x | vendor/illuminate/support/Facades/Schema.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/illuminate/support/Facades/Schema.php b/vendor/illuminate/support/Facades/Schema.php index d3a924811b..31748e1502 100755 --- a/vendor/illuminate/support/Facades/Schema.php +++ b/vendor/illuminate/support/Facades/Schema.php @@ -25,12 +25,12 @@ class Schema extends Facade } /** - * Get the registered name of the component. + * Get a schema builder instance for the default connection. * - * @return string + * @return \Illuminate\Database\Schema\Builder */ protected static function getFacadeAccessor() { - return 'db.schema'; + return static::$app['db']->connection()->getSchemaBuilder(); } } |
