Fix making databases when using sqlite for panel

This commit is contained in:
notCharles 2024-05-10 16:26:29 -04:00
parent 9f4bf8777e
commit 30a668c84a

View File

@ -113,7 +113,7 @@ class Database extends Model
*/ */
private function run(string $statement): bool private function run(string $statement): bool
{ {
return DB::connection($this->connection)->statement($statement); return DB::connection(self::DEFAULT_CONNECTION_NAME)->statement($statement);
} }
/** /**