Difference between revisions of "Freeside:1.7:Documentation:Developer/bin/freeside-upgrade"

From Freeside
Jump to: navigation, search
(import from POD)
 
m (Edit via perl MediaWiki framework (1.13))
 
Line 4: Line 4:
 
==SYNOPSIS==
 
==SYNOPSIS==
 
<code>
 
<code>
   freeside-upgrade [ -d ] [ -q | -v ]
+
   freeside-upgrade [ -d ] [ -s ] [ -q | -v ]
 
</code>
 
</code>
 
==DESCRIPTION==
 
==DESCRIPTION==
Line 17: Line 17:
 
   [ -v ]: Run verbosely, sending debugging information to STDERR.  This is the
 
   [ -v ]: Run verbosely, sending debugging information to STDERR.  This is the
 
           current default.
 
           current default.
 +
 +
  [ -s ]: Schema changes only.  Useful for Pg/slony slaves where the data
 +
          changes will be replicated from the Pg/slony master.
 
</code>
 
</code>
 
==SEE ALSO==
 
==SEE ALSO==

Latest revision as of 14:07, 23 July 2009

NAME

freeside-upgrade - Upgrades database schema for new freeside verisons.

SYNOPSIS

 freeside-upgrade [ -d ] [ -s ] [ -q | -v ]

DESCRIPTION

Reads your existing database schema and updates it to match the current schema, adding any columns or tables necessary.

 [ -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.  Useful for Pg/slony slaves where the data
         changes will be replicated from the Pg/slony master.

SEE ALSO