Versions in this module Expand all Collapse all v0 v0.0.26 Jan 11, 2024 Changes in this version + var DefaultMigrations = []Migration + func ApplyMigrations(db *sql.DB, assetNames []string, assetGetter func(name string) ([]byte, error)) error + func Migrate(db *sql.DB) error + func Open(path, key string, mc ...MigrationConfig) (*sql.DB, error) + func OpenWithIter(path, key string, kdfIter int, mc ...MigrationConfig) (*sql.DB, error) + type Migration struct + Getter func(name string) ([]byte, error) + Names []string + type MigrationConfig struct + AssetGetter func(name string) ([]byte, error) + AssetNames []string