Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Migrations ¶
Migrations returns a filesystem containing SQL migration files for the specified database dialect. The dialect parameter determines which SQL syntax variant to use (e.g., "sqlite", "postgres", "mysql", "cockroachdb"). This function serves as a public wrapper around the internal migrations package, providing access to versioned database schema migrations that can be applied using migration tools or custom migration runners. Returns an fs.FS containing the migration files, or an error if the dialect is unsupported.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.