hasOne(Guild::class, 'room_id'); } public function owner(): BelongsTo { return $this->belongsTo(User::class, 'owner_id', 'id'); } }