mac is unique
[freeside.git] / FS / FS / Schema.pm
index 232977a..e8ab6bf 100644 (file)
@@ -1666,7 +1666,7 @@ sub tables_hashref {
         'vlan_profile', 'varchar', 'NULL', $char_d, '', '', 
       ],
       'primary_key' => 'svcnum',
-      'unique'      => [],
+      'unique'      => [ [ 'mac_addr' ] ],
       'index'       => [],
     },