Check database version before migrating
Merge pull request #42 from mpath/migration_version

Check database version before migrating