From 375a64a38e88275bb5e5a3bb237686bf6bf0ee44 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Sat, 15 Jun 2024 05:40:21 -0400 Subject: [PATCH] Remove these relationships --- app/Models/Server.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/app/Models/Server.php b/app/Models/Server.php index 5aca895dd..5aed0ad06 100644 --- a/app/Models/Server.php +++ b/app/Models/Server.php @@ -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. */