|
|
@@ -18,7 +18,7 @@ class CreateStationTasksTable extends Migration
|
|
|
$table->integer('station_id');
|
|
|
$table->integer('station_type_id')->nullable()->index();
|
|
|
$table->enum('status',['待处理','挂起','处理中','完成','异常','取消'])->index();
|
|
|
- $table->index('station_id','station_type_id','status');
|
|
|
+ $table->index(['station_id','station_type_id','status']);
|
|
|
$table->timestamps();
|
|
|
});
|
|
|
}
|