This post discusses using database migrations in services written in Golang. It explains what database migrations are and how they can be written in SQL. It also introduces the go-migrate library for managing SQL migrations in Go.

5m read timeFrom blog.stackademic.com
Post cover image
Table of contents
What are Database Migrations?How are SQL Migrations written?How to use SQL Migrations in Go?Conclusions

Sort: