Remove unnecessary statements from migration