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,9 +18,9 @@ class CreateSuggestTable extends Migration
}
Schema::create('suggest', function (Blueprint $table) {
$table->increments('id');
$table->string('keywords')->default('')->index('keywords');
$table->string('keywords')->default('')->index();
$table->unsignedMediumInteger('userid')->default(0);
$table->dateTime('adddate')->nullable()->index('adddate');
$table->dateTime('adddate')->nullable()->index();
});
}