MCPcopy Index your code
hub / github.com/apache/answer / ExpectedVersion

Function ExpectedVersion

internal/migrations/migrations.go:139–141  ·  view source on GitHub ↗

ExpectedVersion returns the expected db version

()

Source from the content-addressed store, hash-verified

137
138// ExpectedVersion returns the expected db version
139func ExpectedVersion() int64 {
140 return int64(minDBVersion + len(migrations))
141}
142
143// Migrate database to current version
144func Migrate(debug bool, dbConf *data.Database, cacheConf *data.CacheConf, upgradeToSpecificVersion string) error {

Callers 2

initVersionTableMethod · 0.85
MigrateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected