mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-16 05:07:34 +08:00
migrations remove index name
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user