user (
// User represents the object of individual and member of team.
type User struct {
ID int64
LowerName string xorm:"UNIQUE NOT NULL"
Name string xorm:"UNIQUE NOT NULL"
FullName string
// Email is the primary email address (to be used for communication)
Email string xorm:"NOT NULL"
Passwd string xorm:"NOT NULL"
LoginType LoginType
LoginSource int64 xorm:"NOT NULL DEFAULT 0"
LoginName string
Type UserType
OwnedOrgs []*User xorm:"-" json:"-"
Orgs []*User xorm:"-" json:"-"
Repos []*Repository xorm:"-" json:"-"
Location string
Website string
Rands string xorm:"VARCHAR(10)"
Salt string xorm:"VARCHAR(10)"
Created time.Time xorm:"-" json:"-"
CreatedUnix int64
Updated time.Time xorm:"-" json:"-"
UpdatedUnix int64
// Remember visibility choice for convenience, true for private
LastRepoVisibility bool
// Maximum repository creation limit, -1 means use gloabl default
MaxRepoCreation int `xorm:"NOT NULL DEFAULT -1"`
// Permissions
IsActive bool // Activate primary email
IsAdmin bool
AllowGitHook bool
AllowImportLocal bool // Allow migrate repository by local path
ProhibitLogin bool
// Avatar
Avatar string `xorm:"VARCHAR(2048) NOT NULL"`
AvatarEmail string `xorm:"NOT NULL"`
UseCustomAvatar bool
// Counters
NumFollowers int
NumFollowing int `xorm:"NOT NULL DEFAULT 0"`
NumStars int
NumRepos int
// For organization
Description string
NumTeams int
NumMembers int
Teams []*Team `xorm:"-" json:"-"`
Members []*User `xorm:"-" json:"-"`
} ) sheet( create_date name author cover original tune beat )
note( owner )
execute the command below :
open -a "Google Chrome" --args --disable-web-security --user-data-dir