Remove these relationships

This commit is contained in:
Lance Pioch 2024-06-15 05:40:21 -04:00
parent 7c25fc2a9d
commit 375a64a38e

View File

@ -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.
*/