increments('id'); $table->unsignedInteger('user_id')->default(0); $table->date('start_date')->nullable(); $table->date('end_date')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('absents'); } }