increments('id'); $table->bigInteger('user_id')->nullable(); $table->bigInteger('asset_id')->nullable(); $table->string('name', 100)->nullable(); $table->bigInteger('departure_location_id')->nullable(); $table->bigInteger('arrival_location_id')->nullable(); $table->longText('waypoint')->nullable(); $table->timestamp('schedule_time')->nullable(); $table->enum('status', ['Draft','Pending','Approved','Rejected',''])->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('plans'); } }