increments('id'); $table->integer('division_id')->nullable(); $table->integer('asset_id')->nullable(); $table->decimal('damagepercentage', 5,2)->nullable(); $table->text('damagedetails')->nullable(); $table->string('status', 10)->nullable(); $table->timestamp('statusdate')->nullable(); $table->integer('employee_id')->nullable(); $table->string('externalname', 50)->nullable(); $table->string('externalmobile', 15)->nullable(); $table->integer('usedby_id')->nullable(); $table->integer('custodian_id')->nullable(); $table->enum('asset_type', ['Owned','Rented','Third party'])->nullable(); $table->text('action')->nullable(); $table->string('user_type', 10)->nullable(); $table->string('slug', 200)->nullable(); $table->enum('status', ['draft', 'published', 'hidden', 'suspended', 'spam'])->default('draft')->nullable(); $table->integer('user_id')->nullable(); $table->string('upload_folder', 100)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('incidentpkgs'); } }