Use cache helpers rather than database to handle configuration tokens and downloads.
This commit is contained in:
parent
2330c25a8c
commit
605c91a9af
11 changed files with 95 additions and 146 deletions
|
@ -334,16 +334,6 @@ class Server extends Model
|
|||
return $this->hasMany(Database::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all downloads associated with a server.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\HasMany
|
||||
*/
|
||||
public function downloads()
|
||||
{
|
||||
return $this->hasMany(Download::class, 'server', 'id');
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the location of the server.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue