chore: introduce user admin flag

This commit is contained in:
Ferdinand Mütsch 2021-02-12 18:13:49 +01:00
parent 59b85863cc
commit 5b3e88247e
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ type User struct {
ShareProjects bool `json:"-" gorm:"default:false; type:bool"`
ShareOSs bool `json:"-" gorm:"default:false; type:bool; column:share_oss"`
ShareMachines bool `json:"-" gorm:"default:false; type:bool"`
IsAdmin bool `json:"-" gorm:"default:false; type:bool"`
WakatimeApiKey string `json:"-"`
}