| 12345678910111213141516171819202122232425262728293031323334353637383940 | <?phpuse Illuminate\Support\Facades\Schema;use Illuminate\Database\Schema\Blueprint;use Illuminate\Database\Migrations\Migration;class CreateRepairDevicesTable extends Migration{    /**     * Run the migrations.     *     * @return void     */    public function up()    {        Schema::create('repair_devices', function (Blueprint $table) {            $table->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');    }}
 |