Issue 136 database migration support