mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 05:00:49 +08:00
refactor attendance
This commit is contained in:
@@ -19,7 +19,7 @@ class CreateAttendanceTable extends Migration
|
||||
Schema::create('attendance', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->unsignedInteger('uid')->default(0)->index('idx_uid');
|
||||
$table->dateTime('added');
|
||||
$table->dateTime('added')->index();
|
||||
$table->unsignedInteger('points')->default(0);
|
||||
$table->unsignedInteger('days')->default(1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user