7 ms·
This looks really cool, awesome job! We desperately need something like this at my day job, but unfortunately we use MySQL and Django.
by Smotko 5y ago
This looks really cool, awesome job! We desperately need something like this at my day job, but unfortunately we use MySQL and Django.
- techdragon 5y agoWhile 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.