2 ms·
While it hasn't been updated in a while, fundamentally https://github.com/pombredanne/django-zerodowntime https://github.com/pombredanne/django-zerodowntime wou
by techdragon 5y ago
While it hasn't been updated in a while, fundamentally https://github.com/pombredanne/django-zerodowntime https://github.com/pombredanne/django-zerodowntime would be a base for building similar check logic in a DB agnostic way on Django. It has some of the most important checks in place, but could obviously do with adding more sophisticated checks.
For Django users using PostgreSQL you can use https://github.com/antonioIrizar/django-check-migration-wtf https://github.com/antonioIrizar/django-check-migration-wtf or https://github.com/yandex/zero-downtime-migrations https://github.com/yandex/zero-downtime-migrations or https://github.com/tbicr/django-pg-zero-downtime-migrations https://github.com/tbicr/django-pg-zero-downtime-migrations to provide similar functionality to the library this post links to, depending on your exact use case of course.