Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel migration two primary key

$table->primary(['user_id','permission_id']);
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #laravel #migration #primary #key
ADD COMMENT
Topic
Name
5+6 =