team: Updates maximum length of AllowedDomains to 1000 characters. (#10700)
We have several different e-mail domains for a team and recently ran into a length issue while adding an additional one. I did a little bit of searching and it looks like the only limit is in the ORM mapping code (here). The column data type seems to be TEXT.
Этот коммит содержится в:
коммит произвёл
Jesús Espino
родитель
0d0d758208
Коммит
987360f325
@@ -153,7 +153,7 @@ func NewSqlTeamStore(sqlStore SqlStore, metrics einterfaces.MetricsInterface) st
|
||||
table.ColMap("Description").SetMaxSize(255)
|
||||
table.ColMap("Email").SetMaxSize(128)
|
||||
table.ColMap("CompanyName").SetMaxSize(64)
|
||||
table.ColMap("AllowedDomains").SetMaxSize(500)
|
||||
table.ColMap("AllowedDomains").SetMaxSize(1000)
|
||||
table.ColMap("InviteId").SetMaxSize(32)
|
||||
|
||||
tablem := db.AddTableWithName(teamMember{}, "TeamMembers").SetKeys(false, "TeamId", "UserId")
|
||||
|
||||
Ссылка в новой задаче
Block a user