It might be enough if you update config table by running this SQL statement:
Code:
UPDATE `config` SET value = '4.5.0' WHERE name = 'sugar_version';
I created small SQL script which you can use to downgrade 4.5.0 database to version 4.2.1. If updating config table is not enough you could try to downgrade your current 4.5.0 database and files to previous and then use Upgrade Wizard to update to 4.5.0.
Script is available here, but use it with caution.
http://www.sugarcrm.com/forums/showthread.php?p=51410
As a reference enclosed please find my copy of upgrade_sugar421_to_450.sql which was generated by Upgrade Wizard. I added two statement (last two), but commented them. The script shows what changes are done to database when upgrading from 4.2.1 to 4.5.0.
Bookmarks