Versions in this module Expand all Collapse all v0 v0.2.0 Nov 19, 2026 Changes in this version + const DefaultLedgerSchema + const DefaultSharedVersionTable v0.1.0 Oct 23, 2026 Changes in this version + const DefaultLockMaxRetries + const DefaultLockPollSeconds + const DefaultVersionTable + const PrivilegeDelete + const PrivilegeInsert + const PrivilegeReferences + const PrivilegeSelect + const PrivilegeTrigger + const PrivilegeTruncate + const PrivilegeUpdate + var ErrInvalidConfig = domain.ErrInvalidConfig + var ErrUnavailable = domain.ErrUnavailable + func AssertPrivileges(ctx context.Context, tx Tx, p Privileges) error + func EnsureRole(ctx context.Context, tx Tx, role string) error + func ExecIdempotent(ctx context.Context, tx Tx, stmt string) error + func IsPlainIdentifier(s string) bool + func LockKey(identity string) int64 + func Up(ctx context.Context, db DB, cfg Config) error + type Applied = migrate.Applied + func Status(ctx context.Context, db DB, cfg Config) ([]Applied, error) + type Config = migrate.Config + type DB = migrate.DB + type Privilege = migrate.Privilege + type Privileges = migrate.Privileges + type Reconciler = migrate.Reconciler + type StdDBOpener = migrate.StdDBOpener + type TablePrivileges = migrate.TablePrivileges + type Tx = migrate.Tx