Answers for "laravel validation 2 unique columns"

PHP
6

laravel unique multiple columns

$table->unique(['mytext', 'user_id']);
Posted by: Guest on June-10-2020
1

unique check with multiple columns laravel validation

'name' => 'unique:table,field,NULL,id,field1,value1,field2,value2,field3,value3'
Posted by: Guest on May-11-2021

Code answers related to "laravel validation 2 unique columns"

Browse Popular Code Answers by Language