Purge database
Revert to upgrade