diff --git a/database/migrations/2022_02_05_104919_create_network_speed_table.php b/database/migrations/2022_02_05_104919_create_network_speed_table.php index c829743..0abe03a 100644 --- a/database/migrations/2022_02_05_104919_create_network_speed_table.php +++ b/database/migrations/2022_02_05_104919_create_network_speed_table.php @@ -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'); }); }