fix multiple RADIUS group attributes with same name, RT#18580
authorIvan Kohler <ivan@freeside.biz>
Mon, 30 Jul 2012 23:33:40 +0000 (16:33 -0700)
committerIvan Kohler <ivan@freeside.biz>
Mon, 30 Jul 2012 23:33:40 +0000 (16:33 -0700)
FS/FS/Schema.pm

index 097799b..c38c52c 100644 (file)
@@ -2443,8 +2443,8 @@ sub tables_hashref {
         'op',          'char', '', 2, '', '',
       ],
       'primary_key' => 'attrnum',
-      'unique'      => [ ['groupnum','attrname'] ], #?
-      'index'       => [],
+      'unique'      => [],
+      'index'       => [ ['groupnum'], ],
     },
 
     'msgcat' => {