Fix migrations loading