We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7683db commit 0e5aa4aCopy full SHA for 0e5aa4a
models/issue_reaction.go
@@ -22,7 +22,7 @@ type Reaction struct {
22
IssueID int64 `xorm:"INDEX UNIQUE(s) NOT NULL"`
23
CommentID int64 `xorm:"INDEX UNIQUE(s)"`
24
UserID int64 `xorm:"INDEX UNIQUE(s) NOT NULL"`
25
- OriginalAuthorID int64 `xorm:"INDEX UNIQUE(s) NOT NULL"`
+ OriginalAuthorID int64 `xorm:"INDEX UNIQUE(s) NOT NULL DEFAULT(0)"`
26
OriginalAuthor string
27
User *User `xorm:"-"`
28
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
0 commit comments