[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 1cbe920bb2c3682b8f06d14711ae6a9cd4df3ec4

Ivan ivan at 420.am
Fri Nov 15 14:43:36 PST 2013


The branch, FREESIDE_2_3_BRANCH has been updated
       via  1cbe920bb2c3682b8f06d14711ae6a9cd4df3ec4 (commit)
      from  89cea41d2bd7887a5b6b067ea5fb3f7bfa3b1a26 (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 1cbe920bb2c3682b8f06d14711ae6a9cd4df3ec4
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Nov 15 14:43:35 2013 -0800

    fix upgrade_journal upgrade (ironic), RT#26078

diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade
index 48304d3..5ca9b48 100755
--- a/FS/bin/freeside-upgrade
+++ b/FS/bin/freeside-upgrade
@@ -84,6 +84,13 @@ if ( dbdef->table('areacode') and
   }
 }
 
+if ( dbdef->table('upgrade_journal') ) {
+  push @bugfix, "SELECT SETVAL( 'upgrade_journal_upgradenum_seq',
+                                ( SELECT MAX(upgradenum) FROM upgrade_journal )
+                              )
+                ";
+}
+
 if ( $DRY_RUN ) {
   print
     join(";\n", @bugfix ). ";\n";

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

Summary of changes:
 FS/bin/freeside-upgrade |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)




More information about the freeside-commits mailing list