Versions in this module Expand all Collapse all v1 v1.2.0 Mar 19, 2026 Changes in this version + func Backup(dbPath string) (backupPath string, err error) + func VerifyBackup(backupPath string) error + type Migration struct + Description string + DownSQL string + UpSQL string + Version int + type Migrator struct + func NewMigrator(db *sql.DB, tracer observability.Tracer) (*Migrator, error) + func (m *Migrator) CurrentVersion(ctx context.Context) (int, error) + func (m *Migrator) MigrateDown(ctx context.Context, steps int) error + func (m *Migrator) MigrateUp(ctx context.Context) error + func (m *Migrator) PendingMigrations(ctx context.Context) ([]Migration, error)