make migrations compatible with 1.10.0