increments('id'); $table->integer('question_id')->nullable(); $table->string('comment', 255)->nullable(); $table->string('images', 2555)->nullable(); $table->string('slug', 255)->nullable(); $table->enum('status', ['show','hide'])->nullable(); $table->enum('best_answer', ['yes','no'])->nullable(); $table->longText('discription')->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('responses'); } }