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

Struct migration

internal/migrations/migrations.go:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41type migration struct {
42 version string
43 description string
44 migrate func(ctx context.Context, x *xorm.Engine) error
45 shouldCleanCache bool
46}
47
48// Version returns the migration's version
49func (m *migration) Version() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected