package
Version:
v0.19.4
Opens a new window with list of versions in this module.
Published: May 24, 2023
License: MIT
Opens a new window with license information.
Imports: 23
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
EnsureUpToDate will check if the db is at the correct version
func ExpectedVersion() int64
ExpectedVersion returns the expected db version
GetCurrentDBVersion returns the current db version
Migrate database to current version
Migration describes on migration from lower version to high version
NewMigration creates a new migration
type Version struct {
ID int64 `xorm:"pk autoincr"`
Version int64
}
Version describes the version table. Should have only one row with id==1
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.