This commit is contained in:
kolaente 2017-12-04 19:31:45 +01:00 committed by Konrad
parent 25427aee25
commit 66433a9549
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
2 changed files with 2 additions and 3 deletions

View File

@ -152,7 +152,6 @@ var migrations = []Migration{
NewMigration("add reactions", addReactions),
// v51 -> v52
NewMigration("add issue_dependencies", addIssueDependencies),
}
// Migrate database to current version

View File

@ -32,8 +32,8 @@ func addIssueDependencies(x *xorm.Engine) (err error) {
// RepoUnit describes all units of a repository
type RepoUnit struct {
ID int64
RepoID int64 `xorm:"INDEX(s)"`
Type int `xorm:"INDEX(s)"`
RepoID int64 `xorm:"INDEX(s)"`
Type int `xorm:"INDEX(s)"`
Config map[string]interface{} `xorm:"JSON"`
CreatedUnix int64 `xorm:"INDEX CREATED"`
Created time.Time `xorm:"-"`