fix db upgrade v18 to v19
Merge pull request #369 from LipuFei/fix_db_upgrade

Fix db upgrade from v18 to v19