mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-15 20:47:33 +08:00
migrations remove index name
This commit is contained in:
@@ -18,7 +18,7 @@ class CreateFilesTable extends Migration
|
||||
}
|
||||
Schema::create('files', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->unsignedMediumInteger('torrent')->default(0)->index('torrent');
|
||||
$table->unsignedMediumInteger('torrent')->default(0)->index();
|
||||
$table->string('filename')->default('');
|
||||
$table->unsignedBigInteger('size')->default(0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user