Answers for "how to set multiple column unique in laravel in model"

PHP
6

laravel unique multiple columns

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

Code answers related to "how to set multiple column unique in laravel in model"

Browse Popular Code Answers by Language