File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ import (
13
13
14
14
func addReviewViewedFiles (x * xorm.Engine ) error {
15
15
type ReviewState struct {
16
- ID int64 `xorm:"pk autoincr"`
17
- UserID int64 `xorm:"NOT NULL UNIQUE(pull_commit_user)"`
18
- PullID int64 `xorm:"NOT NULL UNIQUE(pull_commit_user) DEFAULT 0"`
19
- CommitSHA string `xorm:"NOT NULL VARCHAR(40) UNIQUE(pull_commit_user)"`
16
+ ID int64 `xorm:"pk autoincr"`
17
+ UserID int64 `xorm:"NOT NULL UNIQUE(pull_commit_user)"`
18
+ PullID int64 `xorm:"NOT NULL UNIQUE(pull_commit_user) DEFAULT 0"`
19
+ CommitSHA string `xorm:"NOT NULL VARCHAR(40) UNIQUE(pull_commit_user)"`
20
20
UpdatedFiles map [string ]pull.ViewedState `xorm:"NOT NULL TEXT JSON"`
21
- UpdatedUnix timeutil.TimeStamp `xorm:"updated"`
21
+ UpdatedUnix timeutil.TimeStamp `xorm:"updated"`
22
22
}
23
23
24
24
return x .Sync2 (new (ReviewState ))
You can’t perform that action at this time.
0 commit comments