feat: can specify available UI languages for an organization (#1306)

This commit is contained in:
Yaodong Yu
2022-11-19 22:11:19 +08:00
committed by GitHub
parent b98ce19211
commit 19ba37e0c2
17 changed files with 75 additions and 31 deletions

View File

@ -45,6 +45,7 @@ type Organization struct {
DefaultAvatar string `xorm:"varchar(100)" json:"defaultAvatar"`
DefaultApplication string `xorm:"varchar(100)" json:"defaultApplication"`
Tags []string `xorm:"mediumtext" json:"tags"`
Languages []string `xorm:"varchar(255)" json:"languages"`
MasterPassword string `xorm:"varchar(100)" json:"masterPassword"`
EnableSoftDeletion bool `json:"enableSoftDeletion"`
IsProfilePublic bool `json:"isProfilePublic"`