move migration to task. Avoid migration errors after merge