Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateCtx ¶
MigrateCtx takes a fs.FS containing sql files and runs all .sql files not ending with _rollback.sql on the provided db. Migration files should begin with an integer, optionally followed by an underscore and a description, and end with .sql. Migration files must not end with _rollback.sql
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.