id type laravel

38

$table->foreignId('user_id') // UNSIGNED BIG INT
                ->references('id')
                ->on('users'); 

Comments

Submit
0 Comments