increments('id'); $table->text('question')->nullable(); $table->text('answer')->nullable(); $table->enum('type', ['buyer','supplier','buyer_supplier',''])->nullable(); $table->integer('category_id')->nullable(); $table->string('slug', 200)->nullable(); $table->string('title', 200)->nullable(); $table->enum('status', ['show','hide'])->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 100)->nullable(); $table->string('upload_folder', 100)->nullable(); $table->increments('PRIMARY')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('faqs'); } }