3 ms·
I am coming from Rails. I want to use Postgres RDS, what do you use for migration? Or if you don't use anything then how migrations are managed in Go?
by InGodsName 8y ago
I am coming from Rails. I want to use Postgres RDS, what do you use for migration?
Or if you don't use anything then how migrations are managed in Go?
- sethammons 8y agoWe have an in-house schema migration utility. Due to the nature of our stack (mostly for historical/legacy reasons), we have multiple languages that can reach in and read different tables. We don't have code-generation ala RoR and a single service that we can update at the same time. We have many, many read slaves and a master DB that we update first in a backwards compatible manner, then update software to work with the new hotness. Disjointed by design. The migration tooling and its stack is orthogonal to our languages we use to write software.
- nobleach 8y agoIt seems no matter what stack I use these days (Kotlin/Java Spring-Boot, Node/Typescript) I end up using Flyway for the DB migrations.