Fix migrations execution