Fix old migrations