MCPcopy Index your code
hub / github.com/TruthHun/BookStack / Version

Method Version

commands/migrate/migrate.go:34–34  ·  view source on GitHub ↗

获取当前的版本

()

Source from the content-addressed store, hash-verified

32type MigrationDatabase interface {
33 //获取当前的版本
34 Version() int64
35 //校验当前是否可更新
36 ValidUpdate(version int64) error
37 //校验并备份表结构

Callers 1

RunMigrationFunction · 0.65

Implementers 1

MigrationVersion03commands/migrate/migrate_v03.go

Calls

no outgoing calls

Tested by

no test coverage detected