Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel composite unique key

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