promo codes not unique...
authorivan <ivan>
Fri, 10 Dec 2004 00:51:32 +0000 (00:51 +0000)
committerivan <ivan>
Fri, 10 Dec 2004 00:51:32 +0000 (00:51 +0000)
FS/bin/freeside-setup

index 9f59504..9f50ec3 100755 (executable)
@@ -692,8 +692,8 @@ sub tables_hash_hack {
         'taxclass',   'varchar', 'NULL', $char_d,
       ],
       'primary_key' => 'pkgpart',
-      'unique' => [ [ 'promo_code' ] ],
-      'index' => [ [ 'disabled' ] ],
+      'unique' => [],
+      'index' => [ [ 'promo_code' ], [ 'disabled' ] ],
     },
 
 #    'part_title' => {