From b9f3688d3b4413c6f8dbf514ebf9f3c3baddea24 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 10 Dec 2004 00:51:32 +0000 Subject: [PATCH] promo codes not unique... --- FS/bin/freeside-setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' => { -- 2.11.0