Make /migrate work