mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-14 10:57:54 +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
|
// Group represents a group of repositories for a user or organization
|
||||||
type Group struct {
|
type Group struct {
|
||||||
ID int64 `xorm:"pk autoincr"`
|
ID int64 `xorm:"pk autoincr"`
|
||||||
OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
|
OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
|
||||||
|
OwnerName string
|
||||||
Owner *user_model.User `xorm:"-"`
|
Owner *user_model.User `xorm:"-"`
|
||||||
LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"`
|
LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"`
|
||||||
Name string `xorm:"INDEX NOT NULL"`
|
Name string `xorm:"INDEX NOT NULL"`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user