increments('id'); $table->string('name', 255)->nullable(); $table->string('slug', 255)->nullable(); $table->integer('category_id')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 200)->nullable(); $table->tinyInteger('is_active')->nullable(); $table->text('image')->nullable(); $table->text('images')->nullable(); $table->text('description')->nullable(); $table->string('upload_folder', 255)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('products'); } }