increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 200)->nullable(); $table->integer('category_id')->nullable(); $table->integer('seller_id')->nullable(); $table->string('slug', 255)->nullable(); $table->string('sku', 200)->nullable(); $table->longText('name')->nullable(); $table->integer('price')->nullable(); $table->integer('temp_price')->nullable(); $table->integer('discount')->nullable(); $table->integer('quantity')->nullable(); $table->enum('status', ['Enabled','Disabled'])->nullable(); $table->string('size', 255)->nullable(); $table->string('classification', 300)->nullable(); $table->longText('description')->nullable(); $table->longText('return_policy')->nullable(); $table->text('meta_title')->nullable(); $table->longText('meta_description')->nullable(); $table->text('meta_keyword')->nullable(); $table->tinyInteger('featured')->nullable(); $table->tinyInteger('premium')->nullable(); $table->text('image')->nullable(); $table->enum('outofstock_status', ['In stock','Out of stock','Pre-order'])->nullable(); $table->integer('order')->nullable(); $table->dateTime('date_available')->nullable(); $table->text('images')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('products'); } }