For anyone struggling to manage their PL/pgSQL codebase via migration files. This is a game changer.
In a similar vein, Tusker is helpful tool that diffs your declarative schema and auto-generates migrations. It uses live postgres connections so you can connect and diff against a running instance too, allowing you to sync up multiple instances. You still need something to run the migrations, but generating them is fully automated. https://github.com/bikeshedder/tusker
Oh, fun to see my project mentioned on HN! I’m glad to see it’s useful to others :)
that is really awesome! declarative schema management is also high on my bucket list, and might even become part of this project. thanks for sharing, will check it out.