Closed
Description
What do you want to change?
go-migrate support migration by calling inside code directly.
Why doesn't sqlc support the same feature?
It is much more convenient to use migration inside code.
(We don't have to install the sqlc command at all in the Dockerfile or dev environment)
For example:
engine := sqlc.NewEngine(...)
engine.Migrate()
-> the generated code is updated inside the folder the same as using sqlc command
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Go