Skip to content

Commit 0e5aa4a

Browse files
committed
fix tests
1 parent e7683db commit 0e5aa4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/issue_reaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type Reaction struct {
2222
IssueID int64 `xorm:"INDEX UNIQUE(s) NOT NULL"`
2323
CommentID int64 `xorm:"INDEX UNIQUE(s)"`
2424
UserID int64 `xorm:"INDEX UNIQUE(s) NOT NULL"`
25-
OriginalAuthorID int64 `xorm:"INDEX UNIQUE(s) NOT NULL"`
25+
OriginalAuthorID int64 `xorm:"INDEX UNIQUE(s) NOT NULL DEFAULT(0)"`
2626
OriginalAuthor string
2727
User *User `xorm:"-"`
2828
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`

0 commit comments

Comments
 (0)