Fix migrations error
Merge pull request #755 from hariadi/fix-migrations

Fix migrations error