Fixed #22645: Allow apps with no models module to still have migrations