Freeseer/freeseer — pull request #417 by zxiiro (2013-12-09 23:46:07+00:00)
Title: Fix #401 Database upgrade failed when starting freeseer

Patch to change the logic for database schema upgrades as discussed in #401. I also cleaned up some of the code and simplified the actual upgrade logic.