increments('id'); $table->integer('division_id')->nullable(); $table->string('name', 100)->nullable(); $table->text('description')->nullable(); $table->integer('manager_id')->nullable(); $table->string('user_type', 20)->nullable(); $table->integer('user_id')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('departments'); } }