mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 15:33:44 +01:00
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