Using dot to load related data

I have a table with two foreign keys that are from the same table, how do I make that work
            ->columns([
                TextColumn::make('employees.name')
                    ->label('Issued By'),
                TextColumn::make('employees.name')
                ->label('Issued To'),
            ])

this just makes one column disappear can anyone help?
Solution
TextColumn::make('relationship1.name');
TextColumn::make('relationship2.name');
Was this page helpful?