app/Models/User.php
//Defined relation between user and technical
Defined relation between user and technical
Defined relation between user and technical
public function fn_user_technical_details()
    {
        return $this->hasOne(UserTechnicalDetails::class,'user_id','id');
    }
public function fn_user_technical_details ( ) { return $ this -> hasOne ( UserTechnicalDetails :: class , 'user_id' , 'id' ) ; }
Defined relation between user and technical
Defined relation between user and technical