[freeside-commits] branch FREESIDE_4_BRANCH updated. f01be186e05ebb2c90dddea29bf8607a444dc1c5
Ivan
ivan at 420.am
Sun Feb 28 11:21:06 PST 2016
The branch, FREESIDE_4_BRANCH has been updated
via f01be186e05ebb2c90dddea29bf8607a444dc1c5 (commit)
from 57ecc58afc271d95a365419a7ffeec32c2c3b9b7 (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 f01be186e05ebb2c90dddea29bf8607a444dc1c5
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Feb 28 11:21:05 2016 -0800
cdr upgrade required for 4.x, RT#32043
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade
index 198d03e..35a2098 100755
--- a/FS/bin/freeside-upgrade
+++ b/FS/bin/freeside-upgrade
@@ -181,6 +181,9 @@ unless ( driver_name =~ /^mysql/i ) {
if ( $opt_c ) {
+ #can always add it back for 4.x->4.x if we need it
+ die "FATAL: -c removed: cdr / h_cdr upgrade is required for 4.x\n";
+
@statements =
grep { $_ !~ /^ *ALTER +TABLE +(h_)?cdr /i }
@statements;
@@ -430,7 +433,7 @@ sub dbdef_create { # reverse engineer the schema from the DB and save to file
}
sub usage {
- die "Usage:\n freeside-upgrade [ -d ] [ -q | -v ] [ -r ] [ -c ] [ -s ] [ -j ] [ -a ] user\n";
+ die "Usage:\n freeside-upgrade [ -d ] [ -q | -v ] [ -r ] [ -s ] [ -j ] [ -a ] user\n";
}
=head1 NAME
@@ -439,7 +442,7 @@ freeside-upgrade - Upgrades database schema for new freeside verisons.
=head1 SYNOPSIS
- freeside-upgrade [ -d ] [ -q | -v ] [ -r ] [ -c ] [ -s ] [ -j ] [ -a ]
+ freeside-upgrade [ -d ] [ -q | -v ] [ -r ] [ -s ] [ -j ] [ -a ]
=head1 DESCRIPTION
@@ -470,8 +473,6 @@ Also performs other upgrade functions:
[ -r ]: Skip sqlradius updates. Useful for occassions where the sqlradius
databases may be inaccessible.
- [ -c ]: Skip cdr and h_cdr updates.
-
[ -j ]: Run certain upgrades asychronously from the job queue. Currently
used only for the 2.x -> 3.x cust_location, cust_pay and part_pkg
upgrades. This may cause odd behavior before the upgrade is
-----------------------------------------------------------------------
Summary of changes:
FS/bin/freeside-upgrade | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
More information about the freeside-commits
mailing list