mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	@@ -104,6 +104,7 @@ type User struct {
 | 
			
		||||
	Rands       string `xorm:"VARCHAR(10)"`
 | 
			
		||||
	Salt        string `xorm:"VARCHAR(10)"`
 | 
			
		||||
	Language    string `xorm:"VARCHAR(5)"`
 | 
			
		||||
	Description string
 | 
			
		||||
 | 
			
		||||
	CreatedUnix   util.TimeStamp `xorm:"INDEX created"`
 | 
			
		||||
	UpdatedUnix   util.TimeStamp `xorm:"INDEX updated"`
 | 
			
		||||
@@ -134,12 +135,11 @@ type User struct {
 | 
			
		||||
	NumRepos     int
 | 
			
		||||
 | 
			
		||||
	// For organization
 | 
			
		||||
	Description string
 | 
			
		||||
	NumTeams    int
 | 
			
		||||
	NumMembers  int
 | 
			
		||||
	Teams       []*Team             `xorm:"-"`
 | 
			
		||||
	Members     []*User             `xorm:"-"`
 | 
			
		||||
	Visibility  structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`
 | 
			
		||||
	NumTeams   int
 | 
			
		||||
	NumMembers int
 | 
			
		||||
	Teams      []*Team             `xorm:"-"`
 | 
			
		||||
	Members    []*User             `xorm:"-"`
 | 
			
		||||
	Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"`
 | 
			
		||||
 | 
			
		||||
	// Preferences
 | 
			
		||||
	DiffViewStyle string `xorm:"NOT NULL DEFAULT ''"`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user