Documentation
¶
Overview ¶
Package migrations embeds the SQL migration files so the control plane can apply them without the source tree present — a step toward a binaries-only `dexaflow lite` (no checked-out repo required). See issue #60.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Files embed.FS
Files holds the embedded up/down migration SQL, loadable by golang-migrate's iofs source.
Functions ¶
func Latest ¶
Latest returns the highest migration version embedded in this binary. It is the binary's view of "newest schema I know about" — the drift detector in `dexaflow lite` (#136) compares it against the running database's schema_migrations.version to refuse to start when the DB is ahead. An empty embed (no .up.sql files) returns an error rather than 0 so a misconfigured build is loud.
Types ¶
This section is empty.