id(); # Columns:相关项目、相关订单、不良事件类型、描述、解决时间、解决人、解决状态、解决结果描述 $table->integer('project_id')->nullable(); $table->integer('order_id')->nullable(); $table->string('type')->nullable(); $table->string('description')->nullable(); $table->string('solved_at')->nullable(); $table->string('solved_by')->nullable(); $table->string('solved_status')->nullable(); $table->string('solved_result')->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('adverse'); } }