From 86cdf085a44f7e595c7f59e5e0790df469e47b20 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 1 Aug 2007 19:21:58 +0000 Subject: [PATCH] freeside-upgrade: add'l documentation & turn on DBIx::DBSchema::Index debugging too --- FS/bin/freeside-upgrade | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. to the database. + +=back + [ -d ]: Dry run; output SQL statements (to STDOUT) only, but do not execute them. -- 2.11.0