MCPcopy Create free account
hub / github.com/temporalio/temporal / VerifyVersion

Method VerifyVersion

common/persistence/sql/sqlplugin/postgresql/db.go:116–119  ·  view source on GitHub ↗

VerifyVersion verify schema version is up to date

()

Source from the content-addressed store, hash-verified

114
115// VerifyVersion verify schema version is up to date
116func (pdb *db) VerifyVersion() error {
117 expectedVersion := pdb.ExpectedVersion()
118 return schema.VerifyCompatibleVersion(pdb, pdb.dbName, expectedVersion)
119}
120
121// Commit commits a previously started transaction
122func (pdb *db) Commit() error {

Callers

nothing calls this directly

Calls 2

ExpectedVersionMethod · 0.95
VerifyCompatibleVersionFunction · 0.92

Tested by

no test coverage detected