increments('id'); $table->longText('comment')->nullable(); $table->string('author', 255)->nullable(); $table->string('email', 255)->nullable(); $table->integer('mobile')->nullable(); $table->string('slug', 255)->nullable(); $table->enum('published', ['yes','no'])->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->integer('blog_id')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('comments'); } }