There’s always that chance that your Go app/service will need to bundle some files in order to fulfill some requirement. A common case of that is bundling SQL migrations into an app. SQL migrations are a set of SQL queries that need to run to set up a clean database, or to change database schema over the course of the applications lifetime.
Planning database migrations
Database migrations can be a tricky thing. With common systems, people tend to write database migrations that go both...
Published on December 06, 2019 09:30