Skip to content

Commit 9edee63

Browse files
committed
keep db size consistency
1 parent 3ed52eb commit 9edee63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/commit_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type CommitStatus struct {
5959
SHA string `xorm:"VARCHAR(64) NOT NULL INDEX UNIQUE(repo_sha_index)"`
6060
TargetURL string `xorm:"TEXT"`
6161
Description string `xorm:"TEXT"`
62-
ContextHash string `xorm:"varchar(64) index"`
62+
ContextHash string `xorm:"varchar(40) index"`
6363
Context string `xorm:"TEXT"`
6464
Creator *User `xorm:"-"`
6565
CreatorID int64

0 commit comments

Comments
 (0)