X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FSchema.pm;h=d42b946f21e5b86686f8e1c003c30c61dccb08ca;hb=88269174c839d6953f30e2f849bc60327dd10f07;hp=3894f65f8e6135a074875e732ed08e68aed2ed89;hpb=3775fafeb19d7dab5f7104e03685ec8dc0d3a8f7;p=freeside.git diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 3894f65f8..d42b946f2 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -2556,7 +2556,7 @@ sub tables_hashref { 'plan_id', 'varchar', 'NULL', $char_d, '', '', ], 'primary_key' => 'svcnum', - 'unique' => [ [ 'mac_addr' ] ], + 'unique' => [ [ 'ip_addr' ], [ 'mac_addr' ] ], 'index' => [], },