mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	golint fixed for models/migrations (#291)
This commit is contained in:
		@@ -23,10 +23,12 @@ func setCommentUpdatedWithCreated(x *xorm.Engine) (err error) {
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// UserV14 describes the added fields for migrating from v13 -> v14
 | 
			
		||||
type UserV14 struct {
 | 
			
		||||
	DiffViewStyle string `xorm:"NOT NULL DEFAULT ''"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// TableName will be invoked by XORM to customrize the table name
 | 
			
		||||
func (*UserV14) TableName() string {
 | 
			
		||||
	return "user"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user