Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CliCmd ¶
func CliCmd(l logger, fs embed.FS, migrationsPath string, opsmigrations DataMigrations) *cli.Command
CliCmd returns a cli.Command for managing database migrations.
func GetCurrentSchemaVersion ¶
GetCurrentSchemaVersion gets the current schema version from the database
func GetMaxVersion ¶
Types ¶
type DataMigration ¶
type DataMigrations ¶
type DataMigrations []DataMigration
Click to show internal directories.
Click to hide internal directories.