summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorjeff <jeff>2001-10-02 16:00:31 +0000
committerjeff <jeff>2001-10-02 16:00:31 +0000
commit44e51a5c50be350fa698bcdcf86ad5c01a7631a2 (patch)
tree8a1704cad96f7c8ad547a4e0ee77b808c220900f /bin
parentfce8244a87d152312852eef77411c644f992314d (diff)
add pkey to batch payments and fix a doc typo
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fs-setup5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/fs-setup b/bin/fs-setup
index 52a2505e5..476b84d87 100755
--- a/bin/fs-setup
+++ b/bin/fs-setup
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: fs-setup,v 1.59 2001-09-26 09:17:06 ivan Exp $
+# $Id: fs-setup,v 1.60 2001-10-02 16:00:30 jeff Exp $
#to delay loading dbdef until we're ready
BEGIN { $FS::Record::setup_hack = 1; }
@@ -447,6 +447,7 @@ sub tables_hash_hack {
'cust_pay_batch' => { #what's this used for again? list of customers
#in current CARD batch? (necessarily CARD?)
'columns' => [
+ 'paybatchnum', 'int', '', '',
'invnum', 'int', '', '',
'custnum', 'int', '', '',
'last', 'varchar', '', $char_d,
@@ -464,7 +465,7 @@ sub tables_hash_hack {
'payname', 'varchar', 'NULL', $char_d,
'amount', @money_type,
],
- 'primary_key' => '',
+ 'primary_key' => 'paybatchnum',
'unique' => [ [] ],
'index' => [ ['invnum'], ['custnum'] ],
},