bigIncrements('id'); $table->unsignedInteger('uid')->default(0)->index('idx_uid'); $table->dateTime('added')->index(); $table->unsignedInteger('points')->default(0); $table->unsignedInteger('days')->default(1); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('attendance'); } }