Ask HN: How do you organize and manage database migrations?
8 by anonfunction | 0 comments on Hacker News.
When building services that rely on relational databases, in my case postgres, what are some best practices and tools to help manage schema changes? We've been using migrations and doing it all manually but it's become a bottleneck and a little bit of a nightmare with multiple consumers of the database needing to make schema changes. Another concern is multiple environments, from local development to staging and production. We're using docker-compose for local development which runs the entire "full" schema and then I'm manually applying the migration files to staging and production before we deploy. I've looked at some projects like flywaydb[1] and liquibase[2] but both are not completely free and seem proprietary. Does anyone know of another open source system that could help manage database schema versioning and migrations? Thanks so much HN, this is something that I have been struggling with. 1: https://flywaydb.org/ 2: https://ift.tt/2o6cNlU
Subscribe to:
Post Comments (Atom)
Honduras Issues Arrest Warrant for Ex-President Pardoned by Trump
By Annie Correal from NYT World https://ift.tt/YahRsjO via IFTTT
-
Mux (YC W16) is hiring across the board to build the future of online video 1 by mmcclure | 0 comments on Hacker News.
-
By Patricia Mazzei from NYT U.S. https://ift.tt/SunLVyf via IFTTT
-
By Annie Correal from NYT World https://ift.tt/YahRsjO via IFTTT
No comments:
Post a Comment