Documentation
¶
Overview ¶
Package migrate provides database migration functionality using golang-migrate. Migration files are embedded and tracked in a schema_migrations table.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FS embed.FS
Functions ¶
func Run ¶
Run executes all pending database migrations from the embedded filesystem. Only migrations that haven't been applied yet will run. Returns an error if the database is in a dirty state or if any migration fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.