increments('id'); $table->integer('category_id')->nullable(); $table->integer('subcategory_id')->nullable(); $table->integer('brand_id')->nullable(); $table->text('name')->nullable(); $table->text('description')->nullable(); $table->text('description1')->nullable(); $table->text('model')->nullable(); $table->text('features')->nullable(); $table->text('images')->nullable(); $table->integer('rating')->nullable(); $table->enum('status', ['Show','Hide'])->nullable(); $table->enum('offer', ['Yes','No'])->nullable(); $table->text('slug')->nullable(); $table->enum('featured', ['Yes','No'])->nullable(); $table->text('meta_title')->nullable(); $table->text('meta_description')->nullable(); $table->text('meta_keywords')->nullable(); $table->text('amazone_link')->nullable(); $table->integer('user_id')->nullable(); $table->text('user_type')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('products'); } }