Fixed #23410 -- Avoid unnecessary rollbacks in related apps when migrating backwards.

Use consistent docstring style with rest of file?
```
"""
Text
"""
```