fix the bug of database migrate

No match.