aspiredu / django-safemigrate

Safely run migrations before deployment
MIT License
68 stars 0 forks source link

Write detected migrations even when all are safe #62

Closed ryanhiebert closed 1 month ago

ryanhiebert commented 1 month ago

I believe this is what was intended, that any migration that doesn't block, isn't faked, and isn't in "disabled" mode, will record all the seen migrations. This catches the case where we exit early because we know that there are no protected migrations.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (7798942) to head (483818b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #62 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 6 6 Lines 188 191 +3 Branches 43 43 ========================================= + Hits 188 191 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.