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

Method initVersionTable

internal/migrations/init.go:116–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114}
115
116func (m *Mentor) initVersionTable() {
117 _, m.err = m.engine.Context(m.ctx).Insert(&entity.Version{ID: 1, VersionNumber: ExpectedVersion()})
118}
119
120func (m *Mentor) initAdminUser() {
121 generateFromPassword, _ := bcrypt.GenerateFromPassword([]byte(m.userData.AdminPassword), bcrypt.DefaultCost)

Callers

nothing calls this directly

Calls 2

ExpectedVersionFunction · 0.85
InsertMethod · 0.80

Tested by

no test coverage detected