Fixed network unique index
Fixed network unique index
This commit is contained in:
parent
b4f214f376
commit
2ad4a87b3d
|
@ -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…
Reference in New Issue
Block a user