generalize custom user migrations