ExpectedVersion returns the expected db version
()
| 137 | |
| 138 | // ExpectedVersion returns the expected db version |
| 139 | func ExpectedVersion() int64 { |
| 140 | return int64(minDBVersion + len(migrations)) |
| 141 | } |
| 142 | |
| 143 | // Migrate database to current version |
| 144 | func Migrate(debug bool, dbConf *data.Database, cacheConf *data.CacheConf, upgradeToSpecificVersion string) error { |
no outgoing calls
no test coverage detected