mirror of
https://github.com/pelican-dev/panel.git
synced 2025-06-09 20:58:59 +02:00
Remove these relationships
This commit is contained in:
parent
7c25fc2a9d
commit
375a64a38e
@ -224,22 +224,6 @@ class Server extends Model
|
||||
return $this->hasMany(Subuser::class, 'server_id', 'id');
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the default allocation for a server.
|
||||
*/
|
||||
public function allocation(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Allocation::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all allocations associated with this server.
|
||||
*/
|
||||
public function allocations(): HasMany
|
||||
{
|
||||
return $this->hasMany(Allocation::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets information for the egg associated with this server.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user