How can i change tableRecord key?
i try this but it doesn't work, any help please?
on resource i was able to change it but on table it doesn't work.
on resource i was able to change it but on table it doesn't work.
public function getTableRecordKey(Model $record): string
{
return $record->user_id;
}public static function getRecordRouteKeyName(): string
{
return 'user_id';
}