private function sqlite() { if (DB::connection() instanceof SQLiteConnection) { $database = DB::connection()->getDatabaseName(); if (!file_exists($database)) { touch($database); DB::reconnect(Config::get('database.default')); } } }