id(); $table->integer('station_id'); $table->integer('station_type_id')->nullable()->index(); $table->enum('status',['待处理','挂起','处理中','完成','异常','取消'])->index(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('station_tasks'); } }