Fix bug for migrations commands
Merge branch 'hotfix-0.0.5'