Affected by GO-2023-1894
and 1 other vulnerabilities
GO-2023-1894: code.gitea.io/gitea Open Redirect vulnerability
GO-2024-3056: Gitea Cross-site Scripting Vulnerability in code.gitea.io/gitea
package
Version:
v1.19.0-rc0
Opens a new window with list of versions in this module.
Published: Feb 22, 2023
License: MIT
Opens a new window with license information.
Imports: 22
Opens a new window with list of imports.
Imported by: 75
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.