mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-14 00:01:05 +02:00
add OwnerName field to Group struct
This commit is contained in:
parent
8cf783b0b8
commit
0ee3576353
@ -12,8 +12,9 @@ import (
|
||||
|
||||
// Group represents a group of repositories for a user or organization
|
||||
type Group struct {
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
|
||||
OwnerName string
|
||||
Owner *user_model.User `xorm:"-"`
|
||||
LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"`
|
||||
Name string `xorm:"INDEX NOT NULL"`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user