mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-16 21:33:44 +02:00
More model updates to more places than I anticipated.
This probably broke a lot of things.
This commit is contained in:
@@ -276,4 +276,14 @@ class Server extends Model
|
||||
{
|
||||
return $this->hasMany(Task::class, 'server', 'id');
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all databases associated with a server.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\HasMany
|
||||
*/
|
||||
public function databases()
|
||||
{
|
||||
return $this->hasMany(Database::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user