mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-15 04:27:34 +08:00
migrations remove index name
This commit is contained in:
@@ -22,7 +22,7 @@ class CreateAttachmentsTable extends Migration
|
||||
$table->unsignedSmallInteger('width')->default(0);
|
||||
$table->dateTime('added')->nullable();
|
||||
$table->string('filename')->default('');
|
||||
$table->char('dlkey', 32)->index('idx_delkey');
|
||||
$table->char('dlkey', 32)->index();
|
||||
$table->string('filetype', 50)->default('');
|
||||
$table->unsignedBigInteger('filesize')->default(0);
|
||||
$table->string('location')->default('');
|
||||
@@ -30,7 +30,7 @@ class CreateAttachmentsTable extends Migration
|
||||
$table->smallInteger('isimage')->unsigned()->default(0);
|
||||
$table->smallInteger('thumb')->unsigned()->default(0);
|
||||
$table->index(['userid', 'id'], 'pid');
|
||||
$table->index(['added', 'isimage', 'downloads'], 'dateline');
|
||||
$table->index(['added', 'isimage', 'downloads'], );
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user