increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->string('category_id', 255)->nullable(); $table->string('name', 255)->nullable(); $table->text('description')->nullable(); $table->increments('price')->nullable(); $table->text('features')->nullable(); $table->text('images')->nullable(); $table->string('slug', 255)->nullable(); $table->enum('status', ['show','hide'])->nullable(); $table->string('upload_folder', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('products'); } }