adding custom migration checker

this doesnt work now