migrations remove index name

This commit is contained in:
xiaomlove
2026-04-20 22:41:09 +07:00
parent dfe9436f1d
commit 94a35b81dc
23 changed files with 36 additions and 34 deletions
@@ -18,7 +18,7 @@ class CreateResreqTable extends Migration
}
Schema::create('resreq', function (Blueprint $table) {
$table->integer('id', true);
$table->integer('reqid')->default(0)->index('reqid');
$table->integer('reqid')->default(0)->index();
$table->integer('torrentid')->default(0);
$table->enum('chosen', ['yes', 'no'])->default('no');
});