aspiredu / django-safemigrate

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

Show when a seen delayed migration can be run #69

Closed ryanhiebert closed 1 month ago

ryanhiebert commented 1 month ago

The current implementation always shows the delay starting from "now" rather than from when the migration was first detected.

I avoided pulling in a dependency on something like freezegun by giving a delay with a buffer of 10 minutes.

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 (79a4860) to head (3780319).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #69 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 6 6 Lines 190 192 +2 Branches 42 43 +1 ========================================= + Hits 190 192 +2 ```

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