mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Fix making databases when using sqlite for panel
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user