Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureUpToDate ¶ added in v1.27.0
func EnsureUpToDate(ctx context.Context, x db.EngineMigration) error
EnsureUpToDate will check if the db is at the correct version
func ExpectedDBVersion ¶ added in v1.27.0
func ExpectedDBVersion() int64
ExpectedDBVersion returns the expected db version
func GetCurrentDBVersion ¶ added in v1.27.0
func GetCurrentDBVersion(x db.EngineMigration) (int64, error)
GetCurrentDBVersion returns the current db version
Types ¶
Click to show internal directories.
Click to hide internal directories.