Documentation ¶
Index ¶
- func ExpectedVersion() int64
- func GetCurrentDBVersion(engine *xorm.Engine) (int64, error)
- func InitDB(dataConf *data.Database) (err error)
- func Migrate(dbConf *data.Database, cacheConf *data.CacheConf) error
- func UpdateInstallInfo(dataConf *data.Database, language string, siteName string, siteURL string, ...) error
- type Migration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentDBVersion ¶
GetCurrentDBVersion returns the current db version
func UpdateInstallInfo ¶ added in v0.3.0
func UpdateInstallInfo(dataConf *data.Database, language string, siteName string, siteURL string, contactEmail string, adminName string, adminPassword string, adminEmail string) error
UpdateInstallInfo update some init data about the admin interface and admin password
Types ¶
Click to show internal directories.
Click to hide internal directories.