外键约束 $table->foreign('project_id')->references('id')->on('projects')->onDelete('cascade');
$table->foreign('project_id')->references('id')->on('projects')->onDelete('cascade');
验证规则:exists:projects,id
'project_id' => 'required|integer|exists:projects,id'