integer('upvote')->default(0)->change(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('bap_comment', function (Blueprint $table) { $table->integer('upvote')->default(0)->change(); }); } }