Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

id type laravel

$table->foreignId('user_id') // UNSIGNED BIG INT
                ->references('id')
                ->on('users'); 
Source by styde.net #
 
PREVIOUS NEXT
Tagged: #id #type #laravel
ADD COMMENT
Topic
Name
5+9 =