1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

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

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:"-"`
}