migration

package
v0.39.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module(
	"vef:integration:migration",

	fx.Invoke(autoMigrate),
)

Module provides automatic database migration for the integration module.

Functions

func Migrate

func Migrate(ctx context.Context, db orm.DB, kind config.DBKind) error

Migrate runs the integration module's DDL migration for the given database kind. The migration is forward-only: CREATE TABLE IF NOT EXISTS statements guarded by a presence probe, provisioning missing tables but never altering existing ones.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL