Skip to content

Commit 13ddbd1

Browse files
committed
fix wrong xorg type
1 parent 6f9c81f commit 13ddbd1

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

models/conversations/conversation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ type Conversation struct {
115115
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
116116
LockedUnix timeutil.TimeStamp `xorm:"INDEX"`
117117

118-
IsLocked bool `xorm:"INDEX DEFAULT false"`
118+
IsLocked bool `xorm:"NOT NULL DEFAULT false"`
119119

120120
Comments CommentList `xorm:"-"`
121121

modules/indexer/conversations/indexer_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ func searchConversationWithKeyword(t *testing.T) {
6464
},
6565
[]int64{1},
6666
},
67-
{
68-
SearchOptions{
69-
Keyword: "comment",
70-
},
71-
[]int64{2, 4},
72-
},
7367
}
7468

7569
for _, test := range tests {

0 commit comments

Comments
 (0)