Answers for "add unique constraint on two columns laravel migration"

PHP
6

laravel unique multiple columns

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

Code answers related to "add unique constraint on two columns laravel migration"

Browse Popular Code Answers by Language