[freeside-commits] branch FREESIDE_3_BRANCH updated. 00358dd85b3fa5d854ea508a9bb2fb9b92c7c2ba

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


The branch, FREESIDE_3_BRANCH has been updated
       via  00358dd85b3fa5d854ea508a9bb2fb9b92c7c2ba (commit)
      from  3e8cad17fc7fd48d4b622771d6b77c6c136d80f2 (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 00358dd85b3fa5d854ea508a9bb2fb9b92c7c2ba
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Nov 15 14:43:34 2013 -0800

    fix upgrade_journal upgrade (ironic), RT#26078

diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade
index 07891a8..d47e7d9 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