summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-setup
diff options
context:
space:
mode:
authorivan <ivan>2004-11-22 18:20:21 +0000
committerivan <ivan>2004-11-22 18:20:21 +0000
commita5a258c91c5dc78897d16627b8092385ceb4c4d2 (patch)
treeed92c98b0ed7c2a8647b8b92c50bd2acfc8e394b /FS/bin/freeside-setup
parent97ddf39b5798913bbd2b0205b2767df2cd362a2b (diff)
promo codes and separate signup addresses for hdn
Diffstat (limited to 'FS/bin/freeside-setup')
-rwxr-xr-xFS/bin/freeside-setup5
1 files changed, 3 insertions, 2 deletions
diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup
index 288b08663..49953b8f7 100755
--- a/FS/bin/freeside-setup
+++ b/FS/bin/freeside-setup
@@ -680,6 +680,7 @@ sub tables_hash_hack {
'pkgpart', 'serial', '', '',
'pkg', 'varchar', '', $char_d,
'comment', 'varchar', '', $char_d,
+ 'promo_code', 'varchar', 'NULL', $char_d,
'setup', @perl_type,
'freq', 'varchar', '', $char_d, #billing frequency
'recur', @perl_type,
@@ -691,8 +692,8 @@ sub tables_hash_hack {
'taxclass', 'varchar', 'NULL', $char_d,
],
'primary_key' => 'pkgpart',
- 'unique' => [],
- 'index' => [ [ 'disabled' ], ],
+ 'unique' => [ [ 'promo_code' ] ],
+ 'index' => [ [ 'disabled' ] ],
},
# 'part_title' => {