[freeside-commits] branch master updated. 803b2d18fd3d62da743281b973d9f057a387e9bb
Ivan
ivan at 420.am
Fri Nov 15 14:43:34 PST 2013
The branch, master has been updated
via 803b2d18fd3d62da743281b973d9f057a387e9bb (commit)
from 8fcb85e75b56d703cddc9569593c3468d6e49c7e (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 803b2d18fd3d62da743281b973d9f057a387e9bb
Author: Ivan Kohler <ivan at freeside.biz>
Date: Fri Nov 15 14:43:33 2013 -0800
fix upgrade_journal upgrade (ironic), RT#26078
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade
index 7cacf10..45d2709 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