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 6f9c81f commit 13ddbd1Copy full SHA for 13ddbd1
models/conversations/conversation.go
@@ -115,7 +115,7 @@ type Conversation struct {
115
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
116
LockedUnix timeutil.TimeStamp `xorm:"INDEX"`
117
118
- IsLocked bool `xorm:"INDEX DEFAULT false"`
+ IsLocked bool `xorm:"NOT NULL DEFAULT false"`
119
120
Comments CommentList `xorm:"-"`
121
modules/indexer/conversations/indexer_test.go
@@ -64,12 +64,6 @@ func searchConversationWithKeyword(t *testing.T) {
64
},
65
[]int64{1},
66
67
- {
68
- SearchOptions{
69
- Keyword: "comment",
70
- },
71
- []int64{2, 4},
72
73
}
74
75
for _, test := range tests {
0 commit comments