File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,11 @@ import (
21
21
22
22
// CommitStatus holds a single Status of a single Commit
23
23
type CommitStatus struct {
24
- ID int64 `xorm:"pk autoincr"`
25
- Index int64 `xorm:"INDEX UNIQUE(repo_sha_index)"`
26
- RepoID int64 `xorm:"INDEX UNIQUE(repo_sha_index)"`
24
+ ID int64 `xorm:"pk autoincr INDEX UNIQUE(repo_sha_id)"`
25
+ RepoID int64 `xorm:"INDEX UNIQUE(repo_sha_id)"`
27
26
Repo * Repository `xorm:"-"`
28
27
State api.CommitStatusState `xorm:"VARCHAR(7) NOT NULL"`
29
- SHA string `xorm:"VARCHAR(64) NOT NULL INDEX UNIQUE(repo_sha_index )"`
28
+ SHA string `xorm:"VARCHAR(64) NOT NULL INDEX UNIQUE(repo_sha_id )"`
30
29
TargetURL string `xorm:"TEXT"`
31
30
Description string `xorm:"TEXT"`
32
31
ContextHash string `xorm:"char(40) index"`
You can’t perform that action at this time.
0 commit comments