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