Answers for "unique key on multiple columns in eloquent"

PHP
6

laravel unique multiple columns

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

Code answers related to "unique key on multiple columns in eloquent"

Browse Popular Code Answers by Language