mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-14 20:17:35 +08:00
migrations remove index name
This commit is contained in:
@@ -20,7 +20,7 @@ class CreateBlocksTable extends Migration
|
||||
$table->increments('id');
|
||||
$table->unsignedMediumInteger('userid')->default(0);
|
||||
$table->unsignedMediumInteger('blockid')->default(0);
|
||||
$table->unique(['userid', 'blockid'], 'userfriend');
|
||||
$table->unique(['userid', 'blockid'],);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user