increments('id'); $table->integer('category_id')->nullable(); $table->integer('sub_category_id')->nullable(); $table->integer('state_id')->nullable(); $table->integer('city_id')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->string('name', 255)->nullable(); $table->string('description', 255)->nullable(); $table->string('images', 255)->nullable(); $table->text('data')->nullable(); $table->string('status', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('products'); } }