increments('id'); $table->unsignedInteger('project_id')->nullable(); $table->unsignedInteger('work_point_id')->nullable(); $table->unsignedInteger('inner_device_id')->nullable(); $table->unsignedInteger('money')->nullable(); $table->string('reason', 200)->nullable(); $table->unsignedInteger('day')->nullable(); $table->string('remark', 200)->nullable(); $table->date('start_date')->nullable(); $table->date('end_date')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('repair_devices'); } }