Conversation
Notices
-
Just checked out available database migrations tools for #golang. Well, there is none applicable to use with already existing application, because they're all using raw SQL statements (like Goose). Some of them allows to compile custom binary for that. So I decided to use URTrator approach at work (see this file "https://github.com/pztrn/urtrator/blob/master/database/migrations.go"), because this approach REALLY ALLOWS DATA TO BE MIGRATED. Try to do it with raw SQL, I wanna look at you at that moment.