Stats
golang-migrate/migrate is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.
Migrate Alternatives
-
-
-
Scout APM
Scout APM - Leading-edge performance monitoring starting at $39/month. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
-
realworld
"The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more 🏅
-
-
-
-
-
-
validator
:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
-
-
-
-
-
-
dockertest
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
-
-
-
-
-
Posts
-
The Architecture of a One-Man SaaS
You can use any normal DB migration tool. For k8s, I put the app's readiness probe to false, run the migrations and then toggle the probe back to true.
Here are some migration libraries:
- Applying sqlite schema changes for a Golang developer
-
📖 Build a RESTful API on Go: Fiber, PostgreSQL, JWT and Swagger docs in isolated Docker containers
👍 I recommend to use golang-migrate/migrate tool for easily up & down your database migrations in one console command.
-
Go Tools: For database schema migrations
Filesystem, reads from filesystem, or
-
Go Tool: (exploring) sqlc (Part 1)
golang-migrate/migrate Database migrations. CLI and Golang library.
-
10 - Dependency Injection and App Demo
I ended up using a tool called golang-migrate CLI to create and apply migrations. Check out the link for instructions on how to install the CLI on your OS. I'm just going to install the CLI directly on my machine as it's a bit simpler than setting it up inside of Docker.