Allow the registration of custom database drivers.
This commit is contained in:
@@ -148,6 +148,11 @@ class Schema {
|
||||
{
|
||||
$driver = $connection->driver();
|
||||
|
||||
if (isset(\Laravel\Database::$registrar[$driver]))
|
||||
{
|
||||
return \Laravel\Database::$registrar[$driver]['schema']();
|
||||
}
|
||||
|
||||
switch ($driver)
|
||||
{
|
||||
case 'mysql':
|
||||
|
||||
Reference in New Issue
Block a user