diff options
author | ivan <ivan> | 2007-08-01 19:21:58 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-08-01 19:21:58 +0000 |
commit | 86cdf085a44f7e595c7f59e5e0790df469e47b20 (patch) | |
tree | 1bf5ce3f05b25784c0a45b548656857a67ed3ae8 /FS | |
parent | 673d0068c5121d3eeb08d8643cf9432cdacdcf88 (diff) |
freeside-upgrade: add'l documentation & turn on DBIx::DBSchema::Index debugging too
Diffstat (limited to 'FS')
-rwxr-xr-x | FS/bin/freeside-upgrade | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade index eb818ea4e..1155af02d 100755 --- a/FS/bin/freeside-upgrade +++ b/FS/bin/freeside-upgrade @@ -37,6 +37,7 @@ reload_dbdef($dbdef_file); $DBIx::DBSchema::DEBUG = $DEBUG; $DBIx::DBSchema::Table::DEBUG = $DEBUG; +$DBIx::DBSchema::Index::DEBUG = $DEBUG; if ( $DRY_RUN ) { print join(";\n", dbdef->sql_update_schema( dbdef_dist, $dbh ) ). ";\n"; @@ -102,6 +103,16 @@ freeside-upgrade - Upgrades database schema for new freeside verisons. Reads your existing database schema and updates it to match the current schema, adding any columns or tables necessary. +Also performs other upgrade functions: + +=over 4 + +=item Calls FS:: Misc::prune::prune_applications (probably unnecessary every upgrade, but simply won't find any records to change) + +=item If necessary, moves your configuration information from the filesystem in /usr/local/etc/freeside/conf.<datasrc> to the database. + +=back + [ -d ]: Dry run; output SQL statements (to STDOUT) only, but do not execute them. |