Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel unique multiple columns

$table->unique(['mytext', 'user_id']);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #unique #multiple #columns
ADD COMMENT
Topic
Name
2+7 =