I have 2 columns in table servers.
I have columns ip and hostname.
ip
hostname
I have validation:
\'data.ip\' => [\'required
This works for me for both create and update.
[ 'column_1' => 'required|unique:TableName,column_1,' . $this->id . ',id,colum_2,' . $this->column_2 ]
Note: tested in Laravel 6.