From: ivan Date: Fri, 10 Dec 2004 00:51:32 +0000 (+0000) Subject: promo codes not unique... X-Git-Tag: SQL_LEDGER_2_4_4~1^2~561 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=b9f3688d3b4413c6f8dbf514ebf9f3c3baddea24;p=freeside.git promo codes not unique... --- diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup index 9f59504f6..9f50ec304 100755 --- a/FS/bin/freeside-setup +++ b/FS/bin/freeside-setup @@ -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' => {