upgrade.pl - upgrade the database for a Daizu 0.2 installation to work with Daizu 0.3
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.
This software is copyright 2006 Geoff Richards <email@example.com>. For licensing information see this page:
To install Daizu, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.