File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -124,8 +124,8 @@ type ConversationComment struct {
124124	Content         string  `xorm:"LONGTEXT"` 
125125	ContentVersion  int     `xorm:"NOT NULL DEFAULT 0"` 
126126
127- 	ConversationID  int64  `xorm:"INDEX"` 
128- 	Conversation    * Conversation 
127+ 	ConversationID  int64           `xorm:"INDEX"` 
128+ 	Conversation    * Conversation   `xorm:"-"` 
129129
130130	CreatedUnix  timeutil.TimeStamp  `xorm:"INDEX created"` 
131131	UpdatedUnix  timeutil.TimeStamp  `xorm:"INDEX updated"` 
Original file line number Diff line number Diff line change @@ -94,6 +94,9 @@ var ErrConversationAlreadyChanged = util.NewInvalidArgumentErrorf("the conversat
9494
9595type  ConversationType  int 
9696
97+ // CommentTypeUndefined is used to search for comments of any type 
98+ const  ConversationTypeUndefined  CommentType  =  - 1 
99+ 
97100const  (
98101	ConversationTypeCommit  ConversationType  =  iota 
99102)
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments