Fix making databases when using sqlite for panel
This commit is contained in:
parent
9f4bf8777e
commit
30a668c84a
@ -113,7 +113,7 @@ class Database extends Model
|
||||
*/
|
||||
private function run(string $statement): bool
|
||||
{
|
||||
return DB::connection($this->connection)->statement($statement);
|
||||
return DB::connection(self::DEFAULT_CONNECTION_NAME)->statement($statement);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user