Answers for "validates 2 column uniquenesee rails"

PHP
6

laravel unique multiple columns

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

Browse Popular Code Answers by Language