Fixed bug in migration 0002

Signed-off-by: sheperd <sheperd@sheperd-SVE141190X.(none)>
Merge pull request #209 from muslimgiga/issue-208

Fix #208.

Fixed bug in migration 0002