Proposed Changes
_all_migrations_applied has a try except to catch all exceptions, this should be more explicit as it should pass other real migration errors to the calling program.
Justification
Global exceptions should not be caught, just a tailored exception specifically to catch when migrations are running.