summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2004-12-10 00:51:32 +0000
committerivan <ivan>2004-12-10 00:51:32 +0000
commitb9f3688d3b4413c6f8dbf514ebf9f3c3baddea24 (patch)
tree5eee19991cbf130b30cc9fce755de224e702606a /FS
parentd6b29a3abb5beccceb334723bdc06568eb5b899a (diff)
promo codes not unique...
Diffstat (limited to 'FS')
-rwxr-xr-xFS/bin/freeside-setup4
1 files 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' => {