increments('id'); $table->integer('site_id')->nullable(); $table->integer('department_id')->nullable(); $table->string('name', 255)->nullable(); $table->text('details')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 100)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('stores'); } }