Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Migrate ¶
func Migrate(db sqlx.DBExecutor, opts *MigrationOpts) error
func MustMigrate ¶
func MustMigrate(db sqlx.DBExecutor, opts *MigrationOpts)
Types ¶
type MigrationOpts ¶
type MigrationOpts struct {
DryRun bool
}
func MigrationOptsFromContext ¶ added in v2.6.0
func MigrationOptsFromContext(ctx context.Context) *MigrationOpts
Click to show internal directories.
Click to hide internal directories.