|
|
@@ -39,6 +39,15 @@ class CreateStationTaskChildren extends Migration
|
|
|
*/
|
|
|
public function down()
|
|
|
{
|
|
|
+ Schema::table('station_task_batches', function (Blueprint $table) {
|
|
|
+ $table->integer('station_id')->index();
|
|
|
+ });
|
|
|
+ Schema::table('station_task_commodities', function (Blueprint $table) {
|
|
|
+ $table->integer('station_id')->index();
|
|
|
+ });
|
|
|
+ Schema::table('station_task_material_boxes', function (Blueprint $table) {
|
|
|
+ $table->integer('station_id')->index();
|
|
|
+ });
|
|
|
Schema::dropIfExists('station_task_children');
|
|
|
}
|
|
|
}
|