fix migration for UTF-8 DB initialization