summaryrefslogtreecommitdiff
path: root/bin/fs-setup
diff options
context:
space:
mode:
authorsteve <steve>2002-12-14 12:19:28 +0000
committersteve <steve>2002-12-14 12:19:28 +0000
commit5d235092e3d3e31d404b6e1db2ff8ec30098c2af (patch)
tree37b4d4b0c2c93fcbde1987541ec280d4ae850d93 /bin/fs-setup
parent9d722730eba9b3d03b6a68615e99d5de9b830111 (diff)
botched commit
Diffstat (limited to 'bin/fs-setup')
-rwxr-xr-xbin/fs-setup12
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/fs-setup b/bin/fs-setup
index cf85ebb88..8e000c4ba 100755
--- a/bin/fs-setup
+++ b/bin/fs-setup
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: fs-setup,v 1.96.4.4 2002-12-14 11:16:04 steve Exp $
+# $Id: fs-setup,v 1.96.4.5 2002-12-14 12:19:19 steve Exp $
#to delay loading dbdef until we're ready
BEGIN { $FS::Record::setup_hack = 1; }
@@ -545,7 +545,7 @@ sub tables_hash_hack {
'_date', @date_type,
'payby', 'char', '', 4, # CARD/BILL/COMP, should be index into
# payment type table.
- 'payinfo', 'varchar', 'NULL', 16, #see cust_main above
+ 'payinfo', 'varchar', 'NULL', $char_d, #see cust_main above
'paybatch', 'varchar', 'NULL', $char_d, #for auditing purposes.
'closed', 'char', 'NULL', 1,
],
@@ -622,7 +622,7 @@ sub tables_hash_hack {
'reason', 'varchar', '', $char_d,
'payby', 'char', '', 4, # CARD/BILL/COMP, should be index
# into payment type table.
- 'payinfo', 'varchar', 'NULL', 16, #see cust_main above
+ 'payinfo', 'varchar', 'NULL', $char_d, #see cust_main above
'paybatch', 'varchar', 'NULL', $char_d,
'closed', 'char', 'NULL', 1,
],
@@ -821,10 +821,12 @@ sub tables_hash_hack {
'columns' => [
'recnum', 'int', '', '',
'svcnum', 'int', '', '',
- 'reczone', 'varchar', '', $char_d,
+ #'reczone', 'varchar', '', $char_d,
+ 'reczone', 'varchar', '', 255,
'recaf', 'char', '', 2,
'rectype', 'char', '', 5,
- 'recdata', 'varchar', '', $char_d,
+ #'recdata', 'varchar', '', $char_d,
+ 'recdata', 'varchar', '', 255,
],
'primary_key' => 'recnum',
'unique' => [],