News for hackers. Stuff that matters.
Re:Show HN: Zero-downtime PostgreSQL migrations for Ruby on ... by Smotko on Sunday February 20, 2022 @05:20PM (#30409807)
This looks really cool, awesome job! We desperately need something like this at my day job, but unfortunately we use MySQL and Django.
Re:Show HN: Zero-downtime PostgreSQL migrations for Ruby on ... by techdragon on Monday February 21, 2022 @12:41AM (#30412332)
While it hasn't been updated in a while, fundamentally 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 or https://github.com/yandex/zero-downtime-migrations or 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.