implementing suggestions in the PR comments
fixed a typo in the migration