gofmt
This commit is contained in:
parent
25427aee25
commit
66433a9549
|
|
@ -152,7 +152,6 @@ var migrations = []Migration{
|
||||||
NewMigration("add reactions", addReactions),
|
NewMigration("add reactions", addReactions),
|
||||||
// v51 -> v52
|
// v51 -> v52
|
||||||
NewMigration("add issue_dependencies", addIssueDependencies),
|
NewMigration("add issue_dependencies", addIssueDependencies),
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Migrate database to current version
|
// Migrate database to current version
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,8 @@ func addIssueDependencies(x *xorm.Engine) (err error) {
|
||||||
// RepoUnit describes all units of a repository
|
// RepoUnit describes all units of a repository
|
||||||
type RepoUnit struct {
|
type RepoUnit struct {
|
||||||
ID int64
|
ID int64
|
||||||
RepoID int64 `xorm:"INDEX(s)"`
|
RepoID int64 `xorm:"INDEX(s)"`
|
||||||
Type int `xorm:"INDEX(s)"`
|
Type int `xorm:"INDEX(s)"`
|
||||||
Config map[string]interface{} `xorm:"JSON"`
|
Config map[string]interface{} `xorm:"JSON"`
|
||||||
CreatedUnix int64 `xorm:"INDEX CREATED"`
|
CreatedUnix int64 `xorm:"INDEX CREATED"`
|
||||||
Created time.Time `xorm:"-"`
|
Created time.Time `xorm:"-"`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user