The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

upgrade.pl - upgrade the database for a Daizu 0.2 installation to work with Daizu 0.3

DESCRIPTION

Run this once after you've installed the Daizu 0.3 code and made any necessary changes to your content repository.

If this won't be able to find your Daizu configuration file automatically you can provide it as an argument when you run this program.

This will drop and recreate an index which was previously not unique but should have been, and also drop some tables which were never used in any public release of Daizu. It will also change any URLs with the method google_sitemap to xml_sitemap, since that's what the code now uses. None of this should cause any problems.

All the database changes are made within a transaction, so any errors should cause it all to be rolled back to how it started.

Unlike the previous version's upgrade script, this one is idempotent, so it won't do any harm to run it on a database which has already been upgraded.

COPYRIGHT

This software is copyright 2006 Geoff Richards <geoff@laxan.com>. For licensing information see this page:

http://www.daizucms.org/license/