Schema::create('tasks', function (Blueprint $table) {
$table->bigIncrements('id');
$table->foreignId('from_user_id')
->reference('id')
->on('users');
$table->foreignId('user_id')
->reference('id')
->on('users');
$table->foreignId('comment_id')
->reference('id')
->on('comments');
$table->timestamps();
});