mirror of
https://github.com/cp6/my-idlers.git
synced 2025-04-19 17:48:36 +00:00
Fixed network unique index
Fixed network unique index
This commit is contained in:
parent
b4f214f376
commit
2ad4a87b3d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class CreateNetworkSpeedTable extends Migration
|
|||
$table->char('receive_type', 4);
|
||||
$table->float('receive_as_mbps');
|
||||
$table->timestamps();
|
||||
$table->unique(['id','server_id'], 'uni');
|
||||
$table->unique(['id','server_id', 'location'], 'uni');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue