Documentation ¶
Index ¶
- func FromEmbeds(opts Opts, embeds ...embed.FS) (afero.Fs, error)
- func Get(_ context.Context, conn string, opts Opts, embeds ...embed.FS) (*migrate.Migrate, error)
- func MigrationTool(conn string, down bool, opts Opts, embeds ...embed.FS)
- func MigrationToolWithError(conn string, down bool, opts Opts, embeds ...embed.FS) error
- func PreHookMigration(params PreHookMigrationParams) func(ctx context.Context)
- func PrepareCockroach(conn string) string
- type Opts
- type PreHookMigrationParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrationToolWithError ¶ added in v0.7.4
func PreHookMigration ¶ added in v0.5.0
func PreHookMigration(params PreHookMigrationParams) func(ctx context.Context)
func PrepareCockroach ¶ added in v0.4.0
Types ¶
Click to show internal directories.
Click to hide internal directories.