[freeside-commits] branch master updated. c27646e15634deb59a81495753d649dc1a1c05fc

Mark Wells mark at 420.am
Tue Apr 9 18:16:14 PDT 2013


The branch, master has been updated
       via  c27646e15634deb59a81495753d649dc1a1c05fc (commit)
       via  25de93438c4abe226831ee710089ed2fe69f51c2 (commit)
      from  bc1bbd506cfa5f005002fef01d8b0f8961f536eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c27646e15634deb59a81495753d649dc1a1c05fc
Author: Mark Wells <mark at freeside.biz>
Date:   Tue Apr 9 18:15:08 2013 -0700

    treat custom field names as lowercase, #22439

diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade
index b08a840..3d1c2e0 100755
--- a/FS/bin/freeside-upgrade
+++ b/FS/bin/freeside-upgrade
@@ -123,6 +123,8 @@ my $cf;
 while ( $cf = $cfsth->fetchrow_hashref ) {
     my $tbl = $cf->{'dbtable'};
     my $name = $cf->{'name'};
+    $name = lc($name) unless driver_name =~ /^mysql/i;
+
     @statements = grep { $_ !~ /^\s*ALTER\s+TABLE\s+(h_|)$tbl\s+DROP\s+COLUMN\s+cf_$name\s*$/i }
                                                                     @statements;
     push @statements, 

commit 25de93438c4abe226831ee710089ed2fe69f51c2
Author: Mark Wells <mark at freeside.biz>
Date:   Tue Apr 9 18:14:09 2013 -0700

    correctly record completion of cust_pay.paybatch upgrade, #18548

diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm
index 6d09f89..7b01ff5 100644
--- a/FS/FS/cust_pay.pm
+++ b/FS/FS/cust_pay.pm
@@ -1080,7 +1080,7 @@ sub _upgrade_data {  #class method
         }
       } #$object
     } #$table
-    FS::upgrade_journal->set_done('cust_pay__parse_paybatch');
+    FS::upgrade_journal->set_done('cust_pay__parse_paybatch_1');
   }
 }
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_pay.pm       |    2 +-
 FS/bin/freeside-upgrade |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list