|
|
@ -104,6 +104,7 @@ type User struct { |
|
|
|
Rands string `xorm:"VARCHAR(10)"` |
|
|
|
Rands string `xorm:"VARCHAR(10)"` |
|
|
|
Salt string `xorm:"VARCHAR(10)"` |
|
|
|
Salt string `xorm:"VARCHAR(10)"` |
|
|
|
Language string `xorm:"VARCHAR(5)"` |
|
|
|
Language string `xorm:"VARCHAR(5)"` |
|
|
|
|
|
|
|
Description string |
|
|
|
|
|
|
|
|
|
|
|
CreatedUnix util.TimeStamp `xorm:"INDEX created"` |
|
|
|
CreatedUnix util.TimeStamp `xorm:"INDEX created"` |
|
|
|
UpdatedUnix util.TimeStamp `xorm:"INDEX updated"` |
|
|
|
UpdatedUnix util.TimeStamp `xorm:"INDEX updated"` |
|
|
@ -134,12 +135,11 @@ type User struct { |
|
|
|
NumRepos int |
|
|
|
NumRepos int |
|
|
|
|
|
|
|
|
|
|
|
// For organization
|
|
|
|
// For organization
|
|
|
|
Description string |
|
|
|
NumTeams int |
|
|
|
NumTeams int |
|
|
|
NumMembers int |
|
|
|
NumMembers int |
|
|
|
Teams []*Team `xorm:"-"` |
|
|
|
Teams []*Team `xorm:"-"` |
|
|
|
Members []*User `xorm:"-"` |
|
|
|
Members []*User `xorm:"-"` |
|
|
|
Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"` |
|
|
|
Visibility structs.VisibleType `xorm:"NOT NULL DEFAULT 0"` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Preferences
|
|
|
|
// Preferences
|
|
|
|
DiffViewStyle string `xorm:"NOT NULL DEFAULT ''"` |
|
|
|
DiffViewStyle string `xorm:"NOT NULL DEFAULT ''"` |
|
|
|