% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
freeside-upgrade - Upgrades database schema for new freeside verisons.
freeside-upgrade [ -d ] [ -q | -v ] [ -r ] [ -s ] [ -j ] [ -a ]
Reads your existing database schema and updates it to match the current schema, adding any columns or tables necessary.
Also performs other upgrade functions:
[ -d ]: Dry run; output SQL statements (to STDOUT) only, but do not execute
them.
[ -q ]: Run quietly. This may become the default at some point.
[ -v ]: Run verbosely, sending debugging information to STDERR. This is the
current default.
[ -s ]: Schema changes only. Used to be useful for Pg/slony slaves where the
data changes would be replicated from the Pg/slony master (current
native Pg replication replicates schema changes to slaves
automatically).
[ -r ]: Skip sqlradius updates. Useful for occassions where the sqlradius
databases may be inaccessible.
[ -j ]: Run certain upgrades asychronously from the job queue. Recommended
for very large cust_main or part_pkg tables that take too long to
upgrade.
[ -a ]: Run schema changes in parallel (Pg only). DBIx::DBSchema minimum
version 0.41 recommended. Recommended only for large databases and
powerful database servers, to reduce upgrade time.